[jQuery] Re: question about identifying what should be updated in an an ajax post

2009-07-12 Thread marksimon
You could try using a hidden field to hold the id. Then you could look for that field. $(document).ready(function() { $('.favorite').click(function(){ var tid=$('.hiddenfield').text(); alert(tid); }); }); pa href=# class=favoritesome linkspan

[jQuery] Re: question about identifying what should be updated in an an ajax post

2009-07-12 Thread brian
On Sat, Jul 11, 2009 at 8:24 PM, jtj...@arclocal.com wrote: I have only used jQuery for fairly simple things and am a little stumped on how best to achieve the following. I have a list of items (similar to the three items at the bottom) and I want a user to be able to assign it as a