ppju 发表于 2013-2-7 19:34:45

js control the html tag's attributes

today is Friday, June 22 2009.

I got some knowledge about the html and js from my project.So I will write them in my blog,And some advice is expected!

you can control the css style through the javascript code
<script language="javascript" type="text/javascript">function doClickStyle(obj,objclassname){document.getElementById(obj).className=objclassname;}</script>


also many technologies are existed, I will study them by myself, and write them in my blog .
页: [1]
查看完整版本: js control the html tag's attributes