title: Javascript : Problem while passing parameter to a function
body: <p>I am passing a parameter to a javascript function from jsp.</p>
  
  <pre><code>  &lt;a href="javascript:void(0)" title="Update" 
     onclick="fnUpdate(&lt;s:property value='roleTypeUid'/&gt;);"&gt;
  </code></pre>
  
  <p>Now the roleTypeUid is a String with space in between (eg. System Admin) . So it is not working . If I replace the attribute with a no-space string , it gets passed fine. </p>
  
  <p>Am I missing something ?</p>