Bright Leopold

i come from the other world,i will go back after the love,the regret,the alive and the dead are over

导航

随笔分类 -  javascript

JS调用XML绑定select(原创)
摘要:这个个东西花了我1个多小时,终于搞定,很兴奋啊 代码奉上: XML: <?xml version="1.0" encoding="utf-8" ?> <joblist> <job> <id value="1"/> <jobname value="--IT,计算机行业--"/> <fid value="0"/> </job> <job> <id value="2"/> & 阅读全文

posted @ 2011-04-20 17:28 Bright Leopold 阅读(646) 评论(0) 推荐(0)

onpropertychange事件
摘要:昨天因为项目的需要,写了一段js,但是却不知道用什么事件来触发它. 最后才知道可以用onpropertychange事件,她和onchange有些类似,但是也有不同! IE下,当一个HTML元素的属性改变的时候,都能通过 onpropertychange来捕获。例如一个 <input name="text1" id="text1" />对象的value属性被页面的脚本修改的时候,onc... 阅读全文

posted @ 2010-07-15 10:07 Bright Leopold 阅读(455) 评论(1) 推荐(0)