I currently have a drop down box that has "add" "remove" and "change" as selections. The page I have doesn't have any entries for old information, like old IP address or old Hostnames. Lets say the page with the dropdown
When "change" is selected, I'd like the browser to open up a different page that has the extra fields, "change.php". I don't want to try and "unhide" rows with the extra fields because I'm using PHPRunner to generate the forms. If add or delete is selected, I don't want anything to happen, processing should be done on the existing page/form.
Hi, The value of a select element adopts that of the current selected option, so you can simply test its value without using the options array like this...
Bookmarks