Javascript click function

前端 未结 4 1317
猫巷女王i
猫巷女王i 2020-12-21 07:10

I\'ve got some code which works fine in IE but unfortunately not in Google Chrome/Firefox.

It relies upon calling a click() event on a button from javascript. Readin

4条回答
  •  鱼传尺愫
    2020-12-21 07:35

    you can use onClick attribute or if you need more functionality have a look at jQuery and events it offers: http://api.jquery.com/category/events/

提交回复
热议问题