I answer myself :P. I can not insert jquery declaration with DOM:

s = document.createObject("script");
s.src = "">s.type = "text/_javascript_";
document.getElementByTagName ("head")[0].appendChild(s);

then in IE generate many problems ;(

2006/9/26, SDisk SDisk <[EMAIL PROTECTED]>:
In my old revision of jQuery $Date: 2006-05-02 12:03:07 -0700 all works OK but I downloaded the new revision 1.0.1 and in this simple code:

$(document).ready(function(){
    userlang = navigator.language? navigator.language : navigator.userLanguage;
    alert(userlang);
});

In IE not works, alerts undefined or simply no alerts (window.onload works)

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to