onclick in button with parameter value from textarea
<p>I have a very simple scenario where I want to have a textbox where you can enter a number, and a button next to it which when pressed will call a javascript method and send it the integer value in the textbox as a parameter.</p>

<p>I am just learning MVC and have been very spoiled by WebForms so forgive me for the silly question, but why doesn't this work?</p>

<pre><code>    Enter Value 1-4&lt;textarea id="param"&gt;&lt;/textarea&gt;
    &lt;br /&gt;
   &lt;button id="btnTest" onclick="WCFJSONp(" + param.value + ")"&gt;Test Service&lt;/button&gt;
</code></pre>

<p>I tried adding a @ sign in front of 'param.value' hoping Razor might see what I'm trying to do, but that didn't work either? And can anyone recommend any links to 'crash courses' in Javascript/HTML for MVC newbs spoiled by WebForms?</p>
