Is there a need? If it works now, then it'll work whether or not the jQuery library is included on the page.
Realistically, there are 10 lines that could be altered to fit 'jQuery Syntax', but when you think about it, the jQuery methods would just end up calling the exact same low-level DOM methods anyway, so the code you have in your post would technically be more efficient than if you rewrote it with jQuery methods.....
Last edited by aj_nsc; 08-23-2011 at 12:17 PM.
I've switched careers...
I'm NO LONGER a scientist,
but now a web developer...
awesome.
I agree with aj_nsc. jQuery eases things like DOM manipulation, events, effects, and ajax, but the code you posted does very little of those things. jQuery won't be much help in this case.
Bookmarks