开发者

jQuery - Call click

开发者 https://www.devze.com 2022-12-12 14:55 出处:网络
I have th开发者_如何学Pythonis jQuery which adds a click event to the selected object (from jQuery LightBox):

I have th开发者_如何学Pythonis jQuery which adds a click event to the selected object (from jQuery LightBox):

$('#jquery-overlay,#jquery-lightbox').click(function() {_finish();});

How in code would I call the click event?


$('#jquery-overlay,#jquery-lightbox').click();

If there is no param passed it will invoke the function rather then assign it.

See the documentation at: http://docs.jquery.com/Events/click


$('#jquery-overlay,#jquery-lightbox').click()

Or what exactly is it that you are asking?

0

精彩评论

暂无评论...
验证码 换一张
取 消