<html><head><title>onChange</title></head> <body><form action="restaurantbuy2.aspx?" method="post" name=Restaurantbuyad_form><select name="EffectiveDateSel" onChange="DispayPrice();"> <option value="365" selected >1年(365天)</option> <option value="730">2年(730天)</option></select> <span id="calssified_price"></span></form><script type="text/javascript">...function DispayPrice()...{ var nSel = document.getElementById("EffectiveDateSel").value; document.getElementById("calssified_price").innerHTML = nSel;}DispayPrice();</script></body></html>