Error! JavaScript and JQuery, .hide()


#1


I wrote the correct code, and it should work. (I've done JQuery and it worked...) I also used the "Get Code" option, and saw no difference. The program still fails. Here's the error:

Did you call .hide() on .skillset?

And, the code:

function main() {
  $('.skillset').hide();
}

$(document).ready(main);

Thanks. :smiley:


#2

This topic was automatically closed after 7 days. New replies are no longer allowed.