jquery().html() is not working after AJAX call in IE

i have fallowing codeurl = “./orderMaintenance.cso?searchLabel=addLineItemController&soNum=” + soNum; $.post(url,$(‘#ordMaintForm’).serialize(), function(responseValue) if(!checkSessionExpiry(responseValue)) //alert(“responseValue:::”+responseValue) $(‘#contentarea’).html(responseValue).show(); return; });After ajax call i am appending response to a div, as you can see in my code. It’s working fine in Mozila, but i …

via HTML Language Development » Search Results » ajax:

jquery().html() is not working after AJAX call in IE

i have fallowing code
url = “./orderMaintenance.cso?searchLabel=addLineItemController&soNum=” + soNum;
$.post(url,$(‘#ordMaintForm’).serialize(), function(responseValue)
if(!checkSessionExpiry(responseValue))
//alert(“responseValue:::”+responseValue)
$(‘#contentarea’).html(responseValue).show();

return;
});After ajax call i am appending response to a div, as you can see in my code. It’s working fine in Mozila, but i don’t know why it’s not working in IE. Some one have any idea why it’s not working in IE.
EDIT::: HTML IN RESPONSE VALUE:::

Help Order Header Level Information



….


some more html tags..





$(function()

$(“#dlvCRD00″).datepicker( dateFormat: ‘dd-M-y’ );
});
$(‘#LINEITEM_HEADER’).hide();
$(‘#LINEITEM_HEADER_DLVINFO’).hide();
$(‘#submitPage’).hide();
$(‘#CopyData’).hide();
$(‘#LINEITEM_HEADER’).show();
//validateOrderHeader();Thanks in advance!!!
…………………………………..

Just a shot in the dark but try setting this:
return;To:
return false;Or to whatever value it should be returning.
IE is very particular when it come to javascript. If it see something it doesn’t like, it quits.

For more info: jquery().html() is not working after AJAX call in IE

HTML Language Development » Search Results » ajax

jquery().html() is not working after AJAX call in IE

Share this post:

Related Posts

Leave a Comment