dragunu Posted January 7, 2007 Share Posted January 7, 2007 hello all,is it possible to when selecting a particular value from a drop down list, u'll get a particular value without javascript?example, if i choose "fifty" from the list, i get "50" in a text box. somethng like that. and if i change the value, the value in the text box changes according to the value chosen in the list.regards,william Quote Link to comment https://forums.phpfreaks.com/topic/33258-solved-drop-down-lists/ Share on other sites More sharing options...
papaface Posted January 7, 2007 Share Posted January 7, 2007 no, PHP is server side.You would need java. Quote Link to comment https://forums.phpfreaks.com/topic/33258-solved-drop-down-lists/#findComment-155306 Share on other sites More sharing options...
trq Posted January 7, 2007 Share Posted January 7, 2007 Javascript is best for this task. If you want php to do it, you will need to refresh the page between each change. ie php runs oin the server, whilst javscript executes on the client. Quote Link to comment https://forums.phpfreaks.com/topic/33258-solved-drop-down-lists/#findComment-155307 Share on other sites More sharing options...
dragunu Posted January 7, 2007 Author Share Posted January 7, 2007 cheers, thanks guys Quote Link to comment https://forums.phpfreaks.com/topic/33258-solved-drop-down-lists/#findComment-155310 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.