I’m writing some code with .html() that has a html map area (it’s my workaround to enable/disable the map area) I can work with any live event (works with on click on an image) but it doesn’t work with map area. I can’t found any hint about this, I researched and test some several ways but no-result. My var with
Tag: live
Simple version of jQuery live function
Is it possible to get anywhere a pure Javascript function for event handler with similar functionality as jQuery’s live() ? I need to have the ability to attach events to objects not yet created but both jquery-livequery as well as jquery-events sources are not useful due to dependencies on jQuery core. Answer Event delegation is quite simple. Take this example: