I\'m trying to only show certain divs. The way I have decided to do this is to first hide all elements that start with \"page\" and then only show the correct <
div
$(document).ready(function () { $("[class^=page]").show(); $("[class^=page]").hide(); });
Use this to show hide div's with specific css class it will show/hide all div's with css class mention.