It would appear that you idea does not work.
Just as a note about testing. Open any jQuery page and Firebug, and viola, you have little playground to try quick jQuery lines. ~Sean P.S. I wrote a plugin to find jQuery pages: http://www.sunsean.com/jquerydetect/