title: onChange does not work for DateTimePicker in Struts 2
body: <p>I have the following piece of code :</p>
  <pre class="lang-jsp prettyprint-override"><code>&lt;sx:datetimepicker name=&quot;dateOfBirth&quot; id=&quot;dateOfBirth&quot;
  displayWeeks=&quot;5&quot; displayFormat=&quot;dd/MM/yyyy&quot; onchange=&quot;test()&quot;/&gt;
  </code></pre>
  <p>But for this the <code>onChange</code> event does not work, although I have a simple javascript function like this:</p>
   <pre class="lang-jsp prettyprint-override"><code>&lt;script&gt;
  function test(){
      alert('hi-----');
  }
  &lt;/script&gt;
  </code></pre>
  <p><strong>Note:</strong> I read somewhere that it is a bug in Struts that the <code>onChange</code> event doesn't work for DateTimePicker. However I am not sure about it. Is there any workaround discovered for it?</p>