Well, maybe.... In my first use of jQuery, I attached a visibility toggle function, via document ready, to a button (button by id, toggling by class), and got very erratic results. Typically, the toggle didn't work on first load of the document, but tended to work if the document was reloaded from cache.
* All my CSS is embedded in <head> * All my JS is at the end of <head> * I'm loading 1.3 from Google Code * For any given page load, it either works all the time or fails all the time * I've got both Google ads and analytics in the doc * Same symptoms on Mac Safari 3 and Mac FF3 I gather from the list archives that ready has been something of a problem child. My workaround is to use onclick instead of dynamic attachment, but I'd like to use jQuery more in the future, and it'd be nice to know what's going on. The onclick version is here: http://lobitos.net/wx?loc=half+moon+bay+ca&fmt=wide (the 'raw' button is the one in question).