The solution I made for this problem is to put the .change() function
inside a function called "DOMReload()" along side other similar
functions, then.. whenever I do any ajax calls or loads() I run
DOMReload() so that the function is re-applied to all new elements.

It's a shame that live doesn't work with these events, and its a shame
that jquery doesnt have a $(dom.reload)  function instead of or as
well as $(document.ready).



On Mar 12, 1:27 am, Dave Methvin <dave.meth...@gmail.com> wrote:
> > $('#orderlineform #product_id').live('change',isRentalActive);
>
> The change event isn't one of the ones supported by .live(), in fact
> it's specifically documented as not supported:
>
> http://docs.jquery.com/Events/live#typefn
>
> The .live() method requires events to bubble to the document level
> where they're handled. The reason your code works fine in Firefox and
> others is because they do the right thing and bubble the change event
> as specified by the W3C. IE, on the other hand...do we really need to
> finish this sentence?  :-)

Reply via email to