Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select OnChange Help

Status
Not open for further replies.

mdazam

Programmer
Apr 1, 2005
28
0
0
US
Need help !!

<select name="categoria" onchange="JavaScript()">
<option selected value="">-- choose Product--
!! Using Stored Procedures I'm able to display here !!
</select>

Now what I want is when any Product is selected a price correspond product should be displayed. This price is a result of stored procedure. I need help how to call this and displya.

<select name="product" onchange="JavaScript()">
<option selected value="">-- choose Product--
!! Using Stored Procedures I'm able to display here !!
</select>
<select name="price" onchange="submit">
<option selected value="">-- choose Price--
!! Using Stored Procedures I'm able to display here !!
</select>

This is something like when U Select "Country", a list of "State" displays automatically.
 

There have been many posts on this recently over in the Javascript forum... and possibly an FAQ there, too.

Try searching for "select populate javascript" or browse the JS forum to try and find them.

Hope this helps,
Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top