Yeah, I have it in the ready, that's a given. Though it's still not working correctly. I'll look more into later, I'm too excited to care anymore.
I will never go back to traditonal JS after learning this, I've turned a highlighting function into something as small as this! I'll continue looking over Jquery and hopefully, I can release something.
Code:$(document).ready(function() { $('#blue').hover(function() { $(this).toggleClass("highlight"); }); });
Results 1 to 4 of 4
Thread: Do I have a syntax error?
Threaded View
- 01 Aug. 2011 12:56am #3
Last edited by HTML; 01 Aug. 2011 at 12:58am.