I don't know what happen to my Chrome browser, but all of sudden the behavior of doing $('div#my')
in console is totally different from before. One time I've experienced this but later it somehow recovered, so I don't know how to reproduce it, and today it happened again.
Please watch the video:http://peaceevertvimg.org/jq.php.
In the video I do $('div#my')
in two different browsers:
the first browser is not chrome but I believe it uses the chrome's kernel so its behavior is what I expect, and because currently my chrome is not working as expected so I have to use it to demonstrate my expection: when you do $('div#my
)` you see directly the html TAG, and you can easily see the tag's html content, which is "something" in this case.
In contrast, in my chrome browser, the result is different, when I do $('div#my')
I see an Object(n.fn.init
), and I can't see the "something" immediately, which of course is very inconvenient. But before, I am pretty sure it was not like this, the behavior WAS exactly like that in the first browser.
The simple webpage in this video is http://peaceevertvimg.org/jquery.php, you can go test for yourself in chrome browser. And I am pretty sure most of you won't see the result as shown in my video. What happened to my chrome?(I've disabled all expansions and updated it to the latest version)