I got some JQuery code that hides elements on my page. However I would like to keep showing the visible element when a \[code\]page_load\[/code\] event has appeared.Im using cshtml(razor) code, and in there I have a \[code\]IsPost\[/code\] call, and I was wondering if a call to the JQuery \[code\].hide\[/code\] was possible.The JQuery code:\[code\]<script> $().ready(function () { $(".btn").click(function () { $(".Hide").hide("fast"); $("#" + $(this).data('type')).show("fast"); }); });</script>\[/code\]The C# code:\[code\]if(IsPost){ if(Request["btn"] == "btn1") { // Do some code } if(Request["btn"] == "btn2") { // Do some other code }}\[/code\]The html code:\[code\]<div id="button1" class="Hide"> <form action="" method="post"> <input type="submit" name="btn" value="http://stackoverflow.com/questions/15664221/btn1" /> </form></div><div id="button2" class="Hide"> <form action="" method="post"> <input type="submit" name="btn" value="http://stackoverflow.com/questions/15664221/btn2" /> </form></div>\[/code\]