
interesting bug in IE7 (or feature)
collided with property not described elsewhere IE7.
in short:
There is HTML code:
There is a jquery construct:
In IE 7, the string “a” will contain the string
In all other browsers, FF, Opera, chrome and even IE8 will have the number “1”.
As far as I understand, nothing like this has been described on the Internet ...
in short:
There is HTML code:
ссылка
There is a jquery construct:
$("a").click(function(){
var a = $(this).attr("href");
});
* This source code was highlighted with Source Code Highlighter.
In IE 7, the string “a” will contain the string
http : // домен/полный/путь/на/сайте/1
In all other browsers, FF, Opera, chrome and even IE8 will have the number “1”.
As far as I understand, nothing like this has been described on the Internet ...