title: Set option list to read only in java using formHTML.append
body: <p>So i have a dropdownlist that i am appending on to the html form using formHTML.append</p>
  
  <p>the issue is i need to make certain dropdownlist <code>readonly</code> since im setting the value from somewhere else and i dont want the user to be able to change the value while submitting the form.</p>
  
  <p>this is what i am currently doing to display the dropdown list, how do i add readonly attribute to this ?</p>
  
  <p>i need to be able to make <code>checkboxlist</code> and <code>radiobutton</code> list and rating control also read only is it possible ?</p>
  
  <pre><code>formHTML.append("&lt;option value=\"" + selectOpt.getOptionValue() + "\"" + selDefault  +"&gt;" + selectOpt.getOptionText() + "&lt;/option&gt;");
  </code></pre>