swatisonee Posted June 25, 2008 Share Posted June 25, 2008 Hi, I've been using the foll. code for an update module on one of my scripts. I re-jigged it for another script and all of a sudden it just doesnt work. For example, if I had "1" selected below, I cannot change it to "2". I cannot seem to fathom what I've gotten wrong here and would appreciate a look at the code. Thanks ! Swati <b>Category: </b><select name="cat"> <option selected><? echo $myrow11["Category"] ?> <option value=""> <option value="1">1 <option value="2">2 <option value="3">3 <option value="4">4</select> Quote Link to comment https://forums.phpfreaks.com/topic/111869-modifying-submitted-data/ Share on other sites More sharing options...
everurssantosh Posted June 25, 2008 Share Posted June 25, 2008 do you want to change the value of the dropdown after page loads and it is failing?? are you doing it manually or running some javascript for this task.. pls clarify Quote Link to comment https://forums.phpfreaks.com/topic/111869-modifying-submitted-data/#findComment-574200 Share on other sites More sharing options...
swatisonee Posted June 25, 2008 Author Share Posted June 25, 2008 Yes i wish to change the value of the dropdown after paige loads and thats when it fails. the user of the page does the change manually if the category requires changing else it remains as it is. Quote Link to comment https://forums.phpfreaks.com/topic/111869-modifying-submitted-data/#findComment-574212 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.