ramjai Posted February 13, 2009 Share Posted February 13, 2009 ]Hai All, I am working with combo boxes. When a user selects an item in a combo box, how do i identify whether an item is selected or not. when an item is selected the flag should be set to true if not it should be false. Which event handler should i use? Quote Link to comment Share on other sites More sharing options...
rhodesa Posted February 13, 2009 Share Posted February 13, 2009 you will have to use onclick, and loop over the items in the list check to see if any are selected Quote Link to comment Share on other sites More sharing options...
ramjai Posted February 17, 2009 Author Share Posted February 17, 2009 Thanks for ur reply, when i am fetching the values from combo box the related items must be selected in the next combo box then i am having one text field which will generate automatically the value from the comparision of the combo boxes. For Example, if i am selecting the value from combo box1 and the combo box2 then the type must be 001. if again i am selecting the value from combo box1 and combo box2 then the text field must have the automated value of 002. Can any one help me regarding this. Since i am new to PHP i am unable to do it With regards Thanks once again 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.