JQuery load() in IE8 POST&GET not working? -
This is my position.
I am trying to re-establish a div in a page with load ().
I tried with GET for the first time. Works fine with Firefox but not IE8
After reading a little bit, I came to know that I have to post my Param, so I went there and posted one.
The result is the same as it was. It used to work in IE8 Line im used to post here.
$ (\ '# test_1 \'). Load (\ '../ajax_http.php \', {variable2: xload})
Firebug, (firefox debug add-on), posting post as a post and If the paragraph value is seen then its running as a posting but still is not working in IE8.
This is using the actual line IM:
echo & lt; Div id = "test_1" class = "test_1" onClick = "$ (\ '# test_1 \') load (\ '../ajax_http.php \', {variable2: xload});" & gt; ';
Any ideas?
So if IE8 GET my data I'll get it myself! I came with
function req_product (user, verb, product) {var data = getXMLHttpRequest (); Data. Onreadystatechange = function () {if (data.readyState == 4 & amp; amp; (data.status == 200 || data.stats == 0)} {document.getElementById ("product_box"). InnerHTML = Data .responseText; }}; Var sVar1 = encodercicm (product); Var sVar2 = encoder component (user); Var sVar3 = encoderIconconnect (verb); Data.open ("GET", "ajax_http.php? Variable1 =" + sVar1 + "and variable2 =" + sVar2 + "and variable 3 =" + sVar1, true); Xhr.send (zero);
}
It is working fine with Opera 9.5 as well as IE8, Firefox 3.5.1, Netscape 9.0, so this is where I I will start!
Comments
Post a Comment