yes it is using ajax to load the select box. is the issue with safari 3 beta
or safari in general? is the issue with ajax related stuff buff all the
other jquery stuff is working fine.
Brandon Aaron wrote:
>
> Safari 3 beta has been causing all sorts of problems. We just have to
> remember that it is a beta (more of alpha quality from what I've seen so
> far).
>
> I have a question about your two select boxes. Are they loaded via AJAX?
> Also instead of reselecting the destination or nights select, just use the
> 'this' keyword.
>
> In the first Live Query, this references the [EMAIL PROTECTED] and
> in the second Live Query, this references the [EMAIL PROTECTED] So the
> destination_var in the first would look like this:
>
> var destination_var = $(this);
>
> And the nights_var in the second would look like this:
>
> var nights_var = $(this);
>
>
> Also, try to be more specific with your Live Queries. Give it a context or
> just a parent element if you can ... like this:
>
> $('#container [EMAIL PROTECTED]')
>
>
> --
> Brandon Aaron
>
> On 8/22/07, Eridius <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> here is a small portion on my code
>>
>> $('[EMAIL PROTECTED]').livequery('change', function()
>> {
>> reset_data(0);
>> var destination_var = $('[EMAIL PROTECTED]');
>>
>> $('#week').load('/lib/ajax/price_buster.php', {'get': 'week',
>> 'destination':
>> destination_var.val()});
>> $('#buster_info tr:eq(1)').show();
>> });
>>
>> $('[EMAIL PROTECTED]').livequery('change', function()
>> {
>> reset_data(2);
>> var destination_var = $('[EMAIL PROTECTED]');
>> var nights_var = $('[EMAIL PROTECTED]');
>> var week_var = $('[EMAIL PROTECTED]');
>>
>> $('#options').load('/lib/ajax/price_buster.php', {'get':
>> 'options',
>> 'destination':
>> destination_var.val(),
>> 'nights':
>> nights_var.val(),
>> 'week':
>> week_var.val()});
>> $('#buster_info tr:eq(3)').show();
>> });
>>
>> I basically have this for about 6-7 select boxs. Now the jquery works
>> fine
>> in IE &FF but when i do this is Safari 3 beta, safari crash. Does
>> anything
>> look wring with the code that would cause it to crash? could this just
>> be
>> safari beta issue?
>> --
>> View this message in context:
>> http://www.nabble.com/livequery-issue-tf4311803s15494.html#a12275312
>> Sent from the JQuery mailing list archive at Nabble.com.
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/livequery-issue-tf4311803s15494.html#a12281829
Sent from the JQuery mailing list archive at Nabble.com.