[jQuery] Re: .change() and IE bug

2007-08-21 Thread Eridius
After looking at that plug-in i decided to use that. That plug-in is so sweat, that allowed to to keep my code on one page which is a lot cleaner. R. Rajesh Jeba Anbiah wrote: > > > On Aug 20, 6:13 pm, Eridius <[EMAIL PROTECTED]> wrote: >> I have now just tried >> >> destination.load('/lib/a

[jQuery] Re: .change() and IE bug

2007-08-21 Thread Eridius
Well IE does ot support the bind on the divs, p's, etc... I did relize that i have access to the oringal documents dom when calling ajax in the ajax called file so i have it working in both FF and IE now, thanks for the, i will take a look at the plugin too. R. Rajesh Jeba Anbiah wrote: > >

[jQuery] Re: .change() and IE bug

2007-08-21 Thread R. Rajesh Jeba Anbiah
On Aug 20, 6:13 pm, Eridius <[EMAIL PROTECTED]> wrote: > I have now just tried > > destination.load('/lib/ajax/price_buster.php', {'get': 'destination'}); > destination.bind('change', function() > { Add bind in load's callback, otherwise, you won't be having elements to bind. Or us

[jQuery] Re: .change() and IE bug

2007-08-20 Thread Eridius
it looks like that IE does not support onchange on div, is ther a simple way around this because if not i am going to have to spend a few hours rewriting this(there are about 7 dropdowns in div the pull data base on the options abopve) duma wrote: > > What sort of element is destination? Plea

[jQuery] Re: .change() and IE bug

2007-08-20 Thread Eridius
var destination = $('#destination'); it is a select box. duma wrote: > > What sort of element is destination? Please paste its declaration. > > Sean > > > Eridius wrote: >> >> does .change not work it IE becauseI have this >> >> 310 destination.load('/lib/ajax/price_buster.php', {'get':

[jQuery] Re: .change() and IE bug

2007-08-20 Thread Eridius
I have now just tried destination.load('/lib/ajax/price_buster.php', {'get': 'destination'}); destination.bind('change', function() { reset_data(0); var destination_var = $('[EMAIL PROTECTED]'); nights.load('/lib/ajax/price_buster.php', {'get': 'nights',

[jQuery] Re: .change() and IE bug

2007-08-20 Thread duma
What sort of element is destination? Please paste its declaration. Sean Eridius wrote: > > does .change not work it IE becauseI have this > > 310 destination.load('/lib/ajax/price_buster.php', {'get': > 'destination'}); > 311 destination.change(function() > 312 { > 313 reset_data(0); > 314