Jump to content

jQuery onClick handler


hackalive

Recommended Posts

Hi guys I am using the HTML5 object http://www.w3schools.com/html5/tryit.asp?filename=tryhtml5_object

and want to know how I can attach a funtion to it for onClick.

 

Obviously

<object width="400" height="400" data="helloworld.swf" onClick="alert('a')"></object>

does not work, so is there a jQuery solution I can implement?

 

Cheers in advance.

Link to comment
https://forums.phpfreaks.com/topic/261792-jquery-onclick-handler/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.