What about
$(".file").live('click', function(){
alert(this)
});
I load elements dynamically into a page after the original load and can
access their events. For example I have a "add new record" button, loads a
form saves to the database and updates the current page with
See
http://docs.jquery.com/Frequently_Asked_Questions#Why_doesn.27t_an_event_work_on_a_new_element_I.27ve_created.3F
- Richard
On Fri, Dec 18, 2009 at 12:23 AM, Jason Kaczmarsky wrote:
> Ahah, this was the problem I thought i was having. I can't make jQuery
> work on dynamic content.
>
> If an e
Works for me:
http://jsbin.com/egoto/
- Richard
On Wed, Dec 16, 2009 at 8:44 PM, Jason Kaczmarsky wrote:
> Yes, I am sure they are the correct class and are showing up properly.
>
> Button press:
> //loop
> $("#files").append(''+Files[i]+'');
> //end loop
>
> Firebug:
>
> work.txt
> SAS Guide.
3 matches
Mail list logo