Home › Forums › JavaScript › Function not being updated correctly › Reply To: Function not being updated correctly
December 27, 2015 at 5:34 am
#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.