title: How to pass the value of <@spring.formSingleSelect..> to javascript?
body: <p>How to pass the formSingleSelect  vale to js function</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
  function myfunction(var id){
      alert("hi"+id);
  }
  
  &lt;@spring.formSingleSelect  path="LoginIDForm.ID"  options=userIDs    attributes='onChange="myfunction();"'/&gt;
  </code></pre>