Hi,

Got a bit of a weird issue in IE 8 with this code:

                 jQuery.getJSON("/v.f", {  do: "wiki_ajax", id:  jQuery
(this).val(), field: "1" }, function(j){

The whole function is:

 jQuery.noConflict();


 jQuery(function(){
         jQuery("select#article_is_in_1").change(function(){
                 jQuery.getJSON("/v.f", {  do: "wiki_ajax", id:  jQuery
(this).val(), field: "1" }, function(j){

                                                 clear_further_up(2);

                                 jQuery('#article2').hide();
                         jQuery('#article3').hide();
                         jQuery('#article4').hide();
                         jQuery('#article5').hide();
                         jQuery('#article6').hide();
                         jQuery('#article7').hide();
                         jQuery('#article8').hide();
                         jQuery('#article9').hide();
                         jQuery('#article10').hide();
                         jQuery('#article11').hide();
                         jQuery('#article12').hide();
                         jQuery('#article13').hide();
                         jQuery('#article14').hide(); ;


                         var options = '';
                         for (var i = 0; i <j.length; i++) {
                                 options += '<option value="' + j
[i].optionValue + '">' + j[i].optionDisplay + '</option>';
                         }
                         jQuery("#article_is_in_2").html(options);
                         jQuery('#article_is_in_2 option:first').attr
('selected', 'selected');

                         if (j.length > 1) {
                               jQuery('#article2').show();
                         }


                 })
         });
});

Can anyone suggest what is wrong with it? Works perfectly fine in FF
and Chrome :/

TIA

Andy

Reply via email to