[jQuery] Re: Odd behavior with events and loaded content

2007-06-30 Thread Renato Formato
[EMAIL PROTECTED] ha scritto: I have a page (edit.asp) which uses the .load() to load another page into a div. Inside this loaded page (students.asp) is a select box (id="classavailable") and a link (id="ajaxAdd"). I am trying to run an event after the user selects a value in the select box and

[jQuery] Re: Odd behavior with events and loaded content

2007-06-30 Thread [EMAIL PROTECTED]
Thanks for the help, I think I solved the issue. I wasn't binding the loaded elements correctly. For anyone who runs into the same issue, this is my jQuery code: $(document).ready(function() { $("#tabarea").load("ajax/classes.asp?StudentID=< %=rsChildInfo__MMColParam%>"); $('body'

[jQuery] Re: Odd behavior with events and loaded content

2007-06-29 Thread Ganeshji Marwaha
is it possible that u r attaching this event handler multiple times to the link, probably by calling ur addClass() method somewhere... also, can u post a test page somewhere where we can have a look at what is going on. -GTG On 6/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I have a