Random thoughts about programming for the web. Sometimes it will make sense, probably most of the time, it will not make sense.
Friday, January 30, 2009
Sunday, January 18, 2009
jQuery 1.3 issue - part 2
I have to apologize to the jQuery team, as it seems that jQuery does work. It seems there was a very strange issue with the Finjan software we are using at the office. When I downloaded jQuery at home, all seemed to be working.. after doing a file compare between what I got at the office and what I had downloaded at home, there was 1 line (the line I mentioned in previous post), different.
Anyway, this has been a lesson for me to double check the firewall and proxies..
Anyway, this has been a lesson for me to double check the firewall and proxies..
Thursday, January 15, 2009
jQuery 1.3 issue/bug
First of all congrats to the jQuery team with the new 1.3 release, however maybe it is me only.. but it doesn't work. I have downloaded it used it on my test sites and none of them work: there is an issue in the jQuery code.
So I checked http://api.jquery.com and the same issue..(in IE7 and FF3)
Now I was interested what went wrong, downloaded dev version, checked the error message:
Line 2097 seemed the issue:
div.appendChild( document.createElement('Comment').data = "" );
I guess appendChild assumes an Element object, however:
document.createElement('Comment').data = ""
returns an empty string. Removing the .data="" fixes the issue for now, but I have no idea how it will effect the rest of the code.
I can't imagine that jQuery team released a non working version! Am i doing something wrong or do more people have this issue?
I still have some other pages which gives errors on events, but first a smoke :)
So I checked http://api.jquery.com and the same issue..(in IE7 and FF3)
Now I was interested what went wrong, downloaded dev version, checked the error message:
Line 2097 seemed the issue:
div.appendChild( document.createElement('Comment').data = "" );
I guess appendChild assumes an Element object, however:
document.createElement('Comment').data = ""
returns an empty string. Removing the .data="" fixes the issue for now, but I have no idea how it will effect the rest of the code.
I can't imagine that jQuery team released a non working version! Am i doing something wrong or do more people have this issue?
I still have some other pages which gives errors on events, but first a smoke :)
Subscribe to:
Posts (Atom)