0

Can I display the selected value of a combobox on the same page as text that updates as the selection changes? I'm trying to build a sentence using combo boxes and input fields.
The combobox represents a name for instance and needs to update in the sentence as it is changed.
I would appreciate any help I can get

Thanks

dmschenk
  • 379
  • 1
  • 5
  • 19

1 Answers1

2

PHP is a server-side language. You will need to use JavaScript to do this client-side if you do not wish to reload the page.

Check out this SO Question for how to do this with JavaScript.

Community
  • 1
  • 1
Jason McCreary
  • 71,546
  • 23
  • 135
  • 174