Home  >  Article  >  Backend Development  >  求高手帮忙实现 一段代码

求高手帮忙实现 一段代码

WBOY
WBOYOriginal
2016-06-23 14:05:45719browse

主要就是需要一段代码
点击a标签的时候就会在本页面释放出这段mihao
用js也可以 能实现就好了

或者把点击a标签的时候把
 中的 你
 改为
 好 的好


回复讨论(解决方案)

你的页面就如此简单,只有一个a标签 ?建议贴出你的html代码。

http://bbs.csdn.net/topics/390425538



<script> <br /> function changeA(obj){ <br /> obj.innerHTML='好' <br /> } <br /> </script>


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:nginx下的重定向配置Next article:求写一SQL语句