I figured it out, the #select_... was the span tag I was emptying which
included the select box.  Even tho I hate IE, it is a way makes you a better
programmer because you have to code correctly where firefox is forgiving a
knows "what you meant".  I did have to change the .change to a livequery to
fix it in IE(I swear that is the best plugin ever) but it all works now.


Eridius wrote:
> 
> The empty does not take effect or anything after it which is the first
> first that should happen.  I am about to start just commenting code and
> start alerting stuff and see what happens.
> 
> 
> Karl Swedberg-2 wrote:
>> 
>> 
>> Hi Eridius,
>> 
>> I don't see anything obviously wrong with the code. Can you specify  
>> what is (or is not) happening when you attempt this with IE 6/7? In  
>> other words, how is it "not working"? Do you get an error, or does it  
>> fail silently? Also, just for troubleshooting purposes, could you  
>> replace ".change" with something else, such as "blur"? Maybe IE 6/7  
>> aren't picking up on the change event.
>> 
>> 
>> --Karl
>> _________________
>> Karl Swedberg
>> www.englishrules.com
>> www.learningjquery.com
>> 
>> 
>> 
>> On Dec 19, 2007, at 8:25 AM, Eridius wrote:
>> 
>>>
>>>
>>> can anyone tell me if they see anything wrong with this code?
>>>
>>>
>>> Eridius wrote:
>>>>
>>>> This particular code in not work IE 6/7 but works in firefox.   
>>>> Can't get a
>>>> demo up right now but any suggestions are welcomed.
>>>>
>>>> <script type="text/javascript">
>>>> function ie_fix()
>>>> {
>>>>    //update filters
>>>>    $('#select_destination_filter').change(function()
>>>>    {
>>>>            //select values
>>>>            var destination_select = $('#destination_filter').val();
>>>>            var hotel_select = $('#hotel_filter').val();
>>>>            var travel_week_select = $('#travel_week_filter').val();
>>>>
>>>>            $('#select_travel_week_filter').empty();
>>>>            $('#select_hotel_filter').empty();
>>>>
>>>>    
>>>> $('#select_travel_week_filter').load('/lib/ajax/community/search/ 
>>>> filter_update.php',
>>>>            {
>>>>                    'change': 'travel_week',
>>>>                    'destination': destination_select,
>>>>                    'hotel': hotel_select,
>>>>                    'travel_week': travel_week_select,
>>>>                    'source_change' : 'destination'
>>>>            });
>>>>    
>>>> $('#select_hotel_filter').load('/lib/ajax/community/search/ 
>>>> filter_update.php',
>>>>            {
>>>>                    'change': 'hotel',
>>>>                    'destination': destination_select,
>>>>                    'hotel': hotel_select,
>>>>                    'travel_week': travel_week_select,
>>>>                    'source_change' : 'destination'
>>>>            });
>>>>    });
>>>>
>>>>    $('#select_travel_week_filter').change(function()
>>>>    {
>>>>            //select values
>>>>            var destination_select = $('#destination_filter').val();
>>>>            var hotel_select = $('#hotel_filter').val();
>>>>            var travel_week_select = $('#travel_week_filter').val();
>>>>
>>>>            $('#select_destination_filter').empty();
>>>>            $('#select_hotel_filter').empty();
>>>>
>>>>    
>>>> $('#select_destination_filter').load('/lib/ajax/community/search/ 
>>>> filter_update.php',
>>>>            {
>>>>                    'change': 'destination',
>>>>                    'destination': destination_select,
>>>>                    'hotel': hotel_select,
>>>>                    'travel_week': travel_week_select,
>>>>                    'source_change' : 'travel_week'
>>>>            });
>>>>    
>>>> $('#select_hotel_filter').load('/lib/ajax/community/search/ 
>>>> filter_update.php',
>>>>            {
>>>>                    'change': 'hotel',
>>>>                    'destination': destination_select,
>>>>                    'hotel': hotel_select,
>>>>                    'travel_week': travel_week_select,
>>>>                    'source_change' : 'travel_week'
>>>>            });
>>>>    });
>>>>
>>>>    $('#select_hotel_filter').change(function()
>>>>    {
>>>>            //select values
>>>>            var destination_select = $('#destination_filter').val();
>>>>            var hotel_select = $('#hotel_filter').val();
>>>>            var travel_week_select = $('#travel_week_filter').val();
>>>>
>>>>            $('#select_travel_week_filter').empty();
>>>>            $('#select_destination_filter').empty();
>>>>
>>>>    
>>>> $('#select_travel_week_filter').load('/lib/ajax/community/search/ 
>>>> filter_update.php',
>>>>            {
>>>>                    'change': 'travel_week',
>>>>                    'destination': destination_select,
>>>>                    'hotel': hotel_select,
>>>>                    'travel_week': travel_week_select,
>>>>                    'source_change' : 'hotel'
>>>>            });
>>>>    
>>>> $('#select_destination_filter').load('/lib/ajax/community/search/ 
>>>> filter_update.php',
>>>>            {
>>>>                    'change': 'destination',
>>>>                    'destination': destination_select,
>>>>                    'hotel': hotel_select,
>>>>                    'travel_week': travel_week_select,
>>>>                    'source_change' : 'hotel'
>>>>            });
>>>>    });
>>>> };
>>>>
>>>> $(document).ready(function()
>>>> {
>>>>    setTimeout(ie_fix, 5000);
>>>> });
>>>> </script>
>>>>
>>>
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/jquery-not-working-in-IE-tp14407531s27240p14416882.html
>>> Sent from the jQuery General Discussion mailing list archive at  
>>> Nabble.com.
>>>
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/jquery-not-working-in-IE-tp14407531s27240p14417664.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to