alin19 Posted February 11, 2008 Share Posted February 11, 2008 after i press the submit buton i need that selected to be the last one that i used, i don't know if i can use javascript <script language="javascript" type="text/javascript"> <!-- function afisare() { with(document.forms.dc) { } } --> <b>Luna:</b> <select name="Luna" size=5 disabled=true> <option value="ian">Ianuarie</option> <option value="febr">Februarie</option> <option value="mar">Martie</option> <option value="apr">Aprilie</option> <option value="mai">Mai</option> <option value="iun">Iunie</option> <option value="iul">Iulie</option> <option value="aug">August</option> <option value="sep">Septembrie</option> <option value="oct">Octombrie</option> <option value="noi">Noiembrie</option> <option value="dec">Decembrie</option> <option value="Toate Lunile" selected="selected">Toate Lunile</option> </select> Link to comment https://forums.phpfreaks.com/topic/90467-change-selected/ Share on other sites More sharing options...
mmarif4u Posted February 11, 2008 Share Posted February 11, 2008 Store it in sessions. Link to comment https://forums.phpfreaks.com/topic/90467-change-selected/#findComment-463821 Share on other sites More sharing options...
alin19 Posted February 11, 2008 Author Share Posted February 11, 2008 can you help me a little? Link to comment https://forums.phpfreaks.com/topic/90467-change-selected/#findComment-463822 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.