deniz Posted July 20, 2007 Share Posted July 20, 2007 Hi, I want to make a php document .I have comboxbox and checkboxes.I want that some checkboxes would appear,some don't changing to which value chosen for combobox.As I learn I should use onchange ,but I don't know how to do.Can u help me? Quote Link to comment Share on other sites More sharing options...
jvrothjr Posted July 20, 2007 Share Posted July 20, 2007 once the box is changed the form will refreach and $_POST['sample'] with be set echo "<form name='myform' method='post'>"; echo "<select name='sample' onchange=form1.submit()>"; echo "<option value=''> </options>"; echo "<option value='test'>Testing</option>"; echo "</form>"; Quote Link to comment 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.