i have 2 html:select, second html:select display corrspondent result based upon 
first html:select selection by calling customized ajax.
   
  However, second html:select generate results and displayed results, but 
cannot generate selection box, but why? or limition of struts for the 
html:select?
   
  any expert can provide input?
   
  tks in advance
   
  john
   
   
   
  File1.jsp
  <script>
  .....
  /* called file2.jsp to generate the result */
  .....
  document.getElementById(why).innerHTML=response;
  .....
  </script>
  <table>
     <tr><td>
          <html:select property="course_name" onchange="showstudent(this.form)">
                <html:option value="maths"/>
                < html:option value="english"/>
         </html:select>
    </td></tr>
    <tr><td> 
           <div id="why">student name here </div>
   </td><tr>
  </table>
   
  file2.jsp
  <html:select property="student_name"> 
                <html:option value="john"/>
                < html:option value="mary"/>
  </html:select>
   
   
   

       
---------------------------------
Pinpoint customers who are looking for what you sell. 

Reply via email to