title: Struts2 select tag add/remove values using javascript
body: <p>I wanted to add/remove values from the list box using javascript in struts2.
  How could I do that?</p>
  
  <pre><code>&lt;s:select label="Select Month" 
  name="monthname" 
  headerKey="1"
  headerValue="-- Please Select --"
  list="#{'01':'January','02':'February','03':'March','04':'April',
          '05':'May','06':'June','07':'July','08':'August','09':'September','10':
          'October','11':'November','12':'December'}"
  /&gt;
  </code></pre>
  
  <p>Let's say I wanted to remove January from the list or add new month in list by javascript in struts2. how do I will implement it?</p>
  
  <p>Thanks in advance.</p>