|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How do I get combobox selection to alter page?
I want to have a combobox at the top of my page that contains a list of numbers. Below this are some textboxes and the number of textboxes there are depends on the number selected in the combobox (If 2 selected then i need 2 text fields, if 4 selected then 4 etc so a loop is used to add them).
The problem is as they are all on the same page how can I get the page display to update when the user changes the value in the combo box so text fields are added/removed when they change the value? |
|
#2
|
|||
|
|||
|
Message Moved
Thread moved from 'PHP Coding' to 'Client Side Things' by CodeKadiya.
Reason: Should use Javascript |
|
#3
|
|||
|
|||
|
RE: How do I get combobox selection to alter page?
You should use javascript onChange event on combo box. You'll get the basic idea of hiding/showing elements regarding user selections if you read this FAQ :
http://codewalkers.com/faq/10/21.html |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > How do I get combobox selection to alter page? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|