javascript in MVC Application?
<p>I have written javascript function in my view  page but it is giving me an error.I wnat to set the selected value of dropdown in the label.Please tell me where am I going wrong??</p>

<pre><code>    function OnSelect()
    {

        var label = document.getElementById("&lt;%= lblSelection.ClientID %&gt;");
        label .Text= "You selected &lt;b&gt;";

    }
</code></pre>

<p>Above is the script function</p>
