I would like to know how to create a query that will grab the first two results of the combobox and display on the Third comboBox without refreshing the page just the form i mean all to be done on the same page not a secundary page.

Thank you!

<table width="486" height="120" border="0">
		  <form id="form2" name="form1" method="post" action="Self??">
		    <tr>
		      <td height="28" colspan="2"><table cellspacing="0" cellpadding="0">
		        <tr>
		          
	            </tr>
		        </table></td>
	        </tr>
		    <tr>
		      <td height="22"></td>
		      <td width="242">&nbsp;</td>
	       <label>
		        <select name="select" id="select">
		          <option selected="selected">choose one org</option>
		          <option value="google">Ungoogle</option>
		          <option value="yahpp">yahoo</option>
		          <option value="micro">micro</option>
	            </select>
		      </label></td>
		      <td><select name="select2" id="select2">
		        <option value="morning">morning</option>
		        <option value="day">day</option>
		       </select></td>
	        </tr>
		    <tr>
		      <td colspan="2"><img src="images/template_26.gif" width="412" height="5" alt="" /></td>
	        </tr>
		    <tr>
		      <td width="234">result of query here</td>
		      <td><select name="select3" id="select3">
	          </select></td>
	        </tr>
	      </form>
</table>

Try JQuery to get and set values dynamically.
Take a look at this article.

Hope it helps...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.