I have 3 div which are:
<div class="widgetbox" id="divone">Content 1</div>
<div class="widgetbox" id="divtwo">Content 2</div>
<div class="widgetbox" id="divthree">Content 3</div>
I need to hide two of these div so that I can make a condition to decide which to appear and which to hide later on. I tried to hide it like below, but it doesn't work. I think I'm using mvc 4. sorry for bad english.
<script type='text/javascript'>
$("#divtwo").hide();
$("#divthree").hide();
</script>