[jQuery] Re: Get this in ajax

2009-08-05 Thread Jaggi
Ah i did try that but it didn't output anything (using firebug). But when i just tried adding it now and just running it in the code the code seems to work (still doesn't output anything tho). Must be one of those things, thanks. On Aug 4, 7:20 pm, James wrote: > $('.del').live('click', function

[jQuery] Re: Get this in ajax

2009-08-04 Thread James
$('.del').live('click', function() { var str = $(this).serialize() + '&js=true'; var $this = $(this); // set variable here $.ajax({ url: $(this).attr('action'), data: str, beforeSend: function() { },