how can i validate year textbox in javascript?
<p>I am using a textbox on my page which is used to enter year in <code>yyyy-yyyy</code> format.</p>

<p>Can you tell how can i validate textbox in this format through javascript??</p>

<p>Thanks in advance...</p>
