jquery - Is something wrong about $(window).load() and Google Chrome? -


Occasionally, this does not just do what I said to do it. It works perfectly in Firefox and IE, but Chrome just ignores the instructions as simple as anything else:

  $ (window) .load (function () { Alert ('hello world!');});  

I think the problem occurs when I type 2 $ (window). Trying to use Load ()

, is facing this problem or is it just me? I mean, is this "bug" actually present or am I doing something wrong?

Try inserting the script & lt; / Body & gt; At the bottom of the page before the tag.

(Chrome Duos has a problem with this function)


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -