title: Assign HTML.Textbox length base on use input
body: <p>I have Html.DropdownList control, base on the dropdown selection I need to set the length of the text box.</p>
  <p>Ex:
  I have different registration number information in drop down</p>
  <blockquote>
  <p>StudentRegestrationID</p>
  <p>StaffRegistrationID</p>
  <p>GustID</p>
  </blockquote>
  <p>When even ever I select <code>StudentRegestrationID</code> its set the (Html.Textbox) control <code>maxLength</code> to 8, else for other two I need to set max length as 5.</p>
  <p>Here <code>maxlength</code> of the control must be decide by the dropdown selection value.</p>
  <p>I need to implement it JQuery any code help are appreciated.</p>