I was running on 1.2 for some reason. :( Anyway, it works perfectly on static pages, but when I load the table in via Ajax none of the links are bound. I'm doing: // Click events to load requests $('#pending').click(function(){ $('#list').hide(600).load('list.php',{type: 'pending'}).show(600); $('#description').html(pending); }); To load the tables.
On Sep 24, 12:59 pm, Charlie Griefer <charlie.grie...@gmail.com> wrote: > Steven: > > It seems to be working here (quick sample thrown together): > > http://charlie.griefer.com/getRowID.html > > ? > > > > On Thu, Sep 24, 2009 at 11:55 AM, Steven <html...@gmail.com> wrote: > > > I cannot seem to get that to work, although it does make sense. I'm > > using Ajax to load the tables in; I don't know if that is the cause. I > > did try it on a static page and it still did nothing though. > > > On Sep 24, 12:36 pm, Charlie Griefer <charlie.grie...@gmail.com> > > wrote: > > > $('a.accept').click(function() { > > > alert($(this).closest('tr').attr('id')); > > > > -- > > > Charlie Grieferhttp://charlie.griefer.com/ > > > > I have failed as much as I have succeeded. But I love my life. I love my > > > wife. And I wish you my kind of success. > > -- > Charlie Grieferhttp://charlie.griefer.com/ > > I have failed as much as I have succeeded. But I love my life. I love my > wife. And I wish you my kind of success.