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

求高手帮忙实现 一段代码

WBOY
Release: 2016-06-23 14:05:45
Original
745 people have browsed it

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

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


回复讨论(解决方案)

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

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



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


source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template