Are you using the onclick event inside your html? http://www.visualjquery.com and find
"click".
It will make your html much cleaner and your code easier to follow.
Additionally, that line you took out about the document ready. You still
want to use that to surround your jQuery code. It's useful
Thanks to Jim Priest, I think I already have an answer. Looks like the
code should be.
function checkReviewers(){
if (somecondition)
{
alert('reviewers off...do some stuff here');
$('.classname').hide();
}
I would still
2 matches
Mail list logo