Calling server side function from JS using hidden button
<p>I've came into a need of calling a server-side function from a javscript function.</p>

<p>As much as I know, this isn't really possible since JS is running on the client, thus it is only possible to call a static function (which is not in the same context).</p>

<p>I've read somewhere about the hidden button method, of hiding an asp server-side button, and then clicking it programmatically from JS, hence making postback and then calling the eventhandler.</p>

<p>Few questions about this method -</p>

<ol>
<li><p>How good is this method? I mean, is this method is widely used or it considered to be primitve and old?</p></li>
<li><p>What are the down sides of this method?</p></li>
<li><p>Another thing I read about this method is that if you came to use this method it means that something is wrong with the overall page logic design. Is that on some level true? Is there perhaps a better way to deal with this problem?</p></li>
</ol>

<p>Thanks ahead</p>
