Jump to content

SELECT DROPDOWN PROBLEM with hidden values


Recommended Posts

hi,i want to pass a value that is selected from a dropdown box to different next pageand the value must be hiddenhow can i do that???code is something likke this.....-------------------------------------------------------------------------------------------------------<select size="1" name="cat" onchange=form1.submit()>for($kc=0;$kc<$clen;$kc++) ///////////these are the option values that i am taking from some other txt file. { ?> <option value="<?php echo "$clist[$kc]"; ?>"> <?php echo "$clist[$kc]"; ?></option> <?php } ?> </select><input type="hidden">i want some code for pasing the value of SELECT 'cat'.plz help me out-ashish

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...