title: how can i pass url id parameter to javascript in mvc2
body: <p>Anyone knows how to pass an id parameter to jquery. For instance I have a url:
  <a href="http://localhost:52271/News/Index/1" rel="nofollow">http://localhost:52271/News/Index/1</a></p>
  
  <p>What I want is id parameter which is 1, in the above url. and I need to pass that id to the script like
  var = url</p>
  
  <p>where url should be the parameter which in this case 1,</p>
  
  <p>Any help will be highly appreciated</p>