Jump to content
php.lv forumi

select un Javascript


arvix

Recommended Posts

Sveiki.

 

Problema ir sekojosa...

 

Ir divi selecti (htmla), kuri mainas atkariba no orta vertibas.

 

<select name="kautkas" onchange="form.submit()" >';

while($row = mysql_fetch_array($result)) {

echo "<br>";

 

echo' <option value ="'.$row["nr"].'">'.$row["nosaukums"].'</option><br>';

 

};

echo' </form>'

 

 

Bet pec submit izpildisanas 1. selecta ieraksts parlec uz pirmo vertibu, bet man gribetos lai vins paliktu tads ka es vinu izvelejos..

Link to comment
Share on other sites

×
×
  • Create New...