title: Call Javascript onClick not working
body: <pre><code>         *@ JAVASCRIPT
               $(document).ready(function()
               {
               }
               )
  
               function videochange(url) {
                   alert(url)
               }
  </code></pre>
  
  <p>On the click of this button it wont hit the JavaScript function above. Any idea why? I really need to get that video.Value to a JavaScript function.....</p>
  
  <pre><code> @foreach(var video in Model.VideoList)
          {           
              var url = video.Value;
           &lt;input type="button" value="@video.Text" onclick="javascript:videochange(url);" /&gt;
              &lt;br /&gt;
          }
  </code></pre>