title: How to make 'None selected' not to work on change of drop down
body: <p>NameTextBox is Dropdown with all names so once change of names and click on search then it gets details associated to the Name but by default 'None Selected' is displayed so once click on search this also works. How can i restrict 'None Selected' not to work once i click on search.</p>
  
  <pre><code>&lt;select id="NameTextBox" name="NameTextBox" class="select100" onchange="fnChangeName();"&gt;
                                      &lt;option value=""&gt;&lt;fmt:message key="label.select"/&gt;&lt;/option&gt;
                                      &lt;c:forEach var="item" items="${MODEANDVIEW.model.codes}"&gt;
                                          &lt;c:set var="numb_Code" value='=${item.numb}'/&gt;
                                          &lt;%
                                          String numbCode = (String)pageContext.getAttribute("numb_Code");
                                          String LoopVal=numbCode.replaceAll(" ","");                                         
                                          String compare = numb.replaceAll(" ","");
                                          selected="";                                            
                                          if((LoopVal.substring(1)).equalsIgnoreCase(compare)){
                                              selected="selected";
                                          }
  
  
  function fnChangeName(){
  
  document.&lt;%= renderResponse.getNamespace()%&gt;emitform.addr.value=document.&lt;%=    
  renderResponse.getNamespace()%&gt;emitform.NameTextBox.options[document.&lt;%= 
  renderResponse.getNamespace()%&gt;remitform.NameTextBox.selectedIndex].value +   
  "\n";
  var str=document.&lt;%= renderResponse.getNamespace()%&gt;emitform.addr.value;
  var str2=document.&lt;%= renderResponse.getNamespace()%&gt;emitform.addr.value;
  var str3=str.substring(0,str.indexOf(":"));
  document.&lt;%= renderResponse.getNamespace()%&gt;emitform.addr1.value=str3;
  document.&lt;%= renderResponse.getNamespace()%&gt;emitform.pvId.value=str3;
  }
  </code></pre>