摘要:
事件-扣动扳机希望语句在用户单击按钮时执行。我们需要引入.bind()方法,通过这个方法,可以指定任何JavaScript事件,并为该事件添加一种行为。此时,事件是click例:HTML标记:div id="switcher" h3Style Switcher/h3 div class="button selected" id="switcher-normal"Normal/div div class="button"id="switcher-narrow"Narror Column/div div class="button" id="switcher-la 阅读全文
posted @ 2011-01-19 17:11
金威
阅读(379)
评论(0)
推荐(0)

浙公网安备 33010602011771号