Works for me:
http://jsbin.com/egoto/
- Richard
On Wed, Dec 16, 2009 at 8:44 PM, Jason Kaczmarsky jkaczmar...@yahoo.comwrote:
Yes, I am sure they are the correct class and are showing up properly.
Button press:
//loop
$(#files).append('div class=file'+Files[i]+'/div');
//end loop
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 jkaczmar...@yahoo.comwrote:
Ahah, this was the problem I thought i was having. I can't make jQuery
work on dynamic
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
3 matches
Mail list logo