I’m having a few issues getting a jquery to perform an onclick event.
I am able to get it working by using a simple Click ME
Though this isn’t the best practice.
I have created a jsfiddle to better explain what I am trying to do.
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.
Check http://jsfiddle.net/UuSWm/11/
You code was practically correct (you’ve missed the
#on#p1).I’ve also removed the
onLoadevent option on the jsfiddle to make the test work.