You can use jQuery's bundeled .live() method. $('#ajaxElement').live('click', function(){ doSomething(); });
On 31 oct., 18:38, JT <josejtam...@gmail.com> wrote: > To bind events, such as 'click', to elements that are added to the > page dynamically, as with AJAX, you can use a plugin like livequery. > You can read some more herehttp://docs.jquery.com/Plugins/livequery > and get the plugin.