internet explorerdan muhteşem reklam

Internet explorer 6 da yaşanan hadiseyi herkes biliyordur herhalde. Bilmeyenler için hatırlatayım, microsoft kendisi bir açıklama yapmıştı ve sistemlerinde açık olduğundan dolayı “geçici bir süre başka bir browser kullanın” diye bir tavsiyede bulunmuşlardı. (Buyrun hackleme videsounu buradan seyredin : http://vimeo.com/8771582 )Bu gerçekten internet explorer’ı geliştiren microsoft için utanç verici olsa gerek. Şimdi de bir sitede tepede banner reklam gördüm. Internet explorer 9 a ait.

Gördüğüm muhteşem reklam da şu :

5 kat daha güvenli demek. Gülerim ancak… Birlikte gülelim istedim.

jQuery, AJAX and Internet Explorer

The issue:

Internet Explorer won’t parse XML quite as easily as every other browser on the internet (I assume). You have to change what you pass it as through jQuery. In IE it has to be passed as text, while the rest can handle it as XML. You also have to pass it through a separate function that brings in ActiveX before you can navigate your way through the XML and use it in your application.

The solution:

Set the type to “text” for IE and “xml” for the rest.

dataType: ($.browser.msie) ? "text" : "xml"

Use a function to “fix” the XML for IE

function parseXml(xml) {
 if (jQuery.browser.msie) {
    var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
    xmlDoc.loadXML(xml);
    xml = xmlDoc;

    }

 return xml;
}

Reference the function in your .ajax()

success: function(xml) {

var newXML = parseXml(xml);

$(newXML).find()....

here we go!

jquery.post internet explorer hata (error)

I want to make an ajax request to the URL which I am currently in. For that reason, I did not write the URL again and assign there “”.

But in internet explorer 9, if you make that empty like me, IE9 gives an error in jquery.js in line blabla.. (at the beginnig of the code, x=open(….. )

//the wrong one
jQuery.post("",{"AjaxRequest":1 ,"defaultParams":defaultParams,"searchParams":searchParams},function(responseText,status,response){
    //success doSomething
}

So rewrite your wrong code like this,

//the right one
jQuery.post("http://write.down.your.url.here?with=params",{"AjaxRequest":1 ,"defaultParams":defaultParams,"searchParams":searchParams},function(responseText,status,response){
    //success doSomething
}

That resolved my problem.
Some other errors can raise, but here it is not the post to write solutiouns to the other failures.