Trying to use Jquery to do a Cursor Pointer on hover:
$('#example td').hover(function() {
$(this).css('cursor','pointer');
});
I do not want to put it in CSS, I want it in Jquery.
What do I need to do to fix this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It seems to work here after I cleared up your jquery, you forgot to close the first click function and the searchform and button aren’t declared in your html (i changed it to #example tr)
Basically your jQuery wasn’t that well coded (there also was a line with 5.}) on it that didn’t belong there).
I also set the “your framework” to jQuery instead of the standard selected mooTools
This is the complete jQuery code I got after i deleted some unnecessary code:
Fiddle