title: How to work directly with struts2 component in JavaScript code?
body: <p>I have a question concerning struts2 and javascript. I have declared this struts2 component for example:</p>
  
  <pre><code>&lt;s:select  name="test" headerValue="Choosing"                  
     label="MyChoosing"
     list="#{'myKey':'MyValue'}"
     onmouseover="myJavaScriptFunction(this)"
     disabled="false" /&gt;
  </code></pre>
  
  <p>One the attribut onmouseover a javascript function "myJavaScriptFunction()" is binding. I this function i would work directly with the struts component. </p>
  
  <p>Is there a way to pass this component into the javascript function and work with them? Is there a way of solution? My example doesn´t work !</p>