[jQuery] Finding ID within Ajax response

2009-04-12 Thread Nic Hubbard
I have an ajax GET call that returns the HTML of a page on my server. Within that page is a form with a specific ID. I know it is there, I can see it in the response in Firebug, but when I try to get attributes of that ID, it always returns undefined! What have I done wrong here? success:

[jQuery] Finding id and setting as variable

2008-11-07 Thread Liam Potter
Hi guys, this should be a quick one I have a div, which has a unqiue id (pulled from the database) so something like this. div class=msg id=msg%#Eval(PrimaryKeyID)% /div and I'm trying to get the id number from it like this var uid = $(.msg).id.replace('msg', ); as I'm running a similar

[jQuery] Finding id of this

2007-04-20 Thread Shelane Enos
I apologize if this solution is posted, but I searched and trying to get through hundreds of results is a bit painful. So I have these titles: Create Reminder, Create Hold Status, Change State. I want to bind a click event to all of them which will toggle the show/hide attribute of a