Max length for a function parameter
<p>Is there any max length for a JavaScript function() parameter? I created a function which had a long parameter,but didn't work. When i shortened the parameter of the same function, it started working. So does that mean that there is a max length for function parameter. If yes then please suggest some alternatives.</p>

<pre><code>function example(idnum)
{
alert(idnum);
}
&lt;div onclick=example(*php variable,no special character included*)&gt;&lt;/div&gt;
</code></pre>

<p>when the php variable is long like about "17b6f557969619544eb1e6cd58c3f341" , it doesn't work.But if i change the variable to something like "203", it works(the alert part).</p>
