Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Function not being updated correctly Reply To: Function not being updated correctly

#236189
Shikkediel
Participant

$(document).ready(); is a shorthand for $(document).on('ready', fn);

I think it’s a bit more subtle than that, although I guess it would generally work (even if deprecated).

http://stackoverflow.com/q/13589307/3168107

One doesn’t really need to add quotes around the properties in the chained CSS by the way…

P.S. I can see the page now, strange.