hi, The jsp page has multiple check boxes (retrieved from DB),.... [CODE] <input type="checkbox" name="selecttype" value="<%=rs2.getString("description") %>"/> [/CODE] I've read these values in to servlet page using [CODE] String[] selecttype=request.getParameterValues("selecttype"); [/CODE] the 'selecttype' now contains only selected checkbox values. but i want to retrieve values of unchecked checkboxes. Pls help me with this. ThanQ, Beanboy :-)

Member Avatar
Member Avatar
+0 forum 7

Can anybody help or point me in the right direction what is missing on my code. The postcode is a mysql table and one field stores user's choice of postcodes in the form of array(a,b,c,d and etc....) Now I want to load selectedPostcode in checkboxes for user_id = 2 to be able to edit and then save changes. mysql table has 3 fields id, user_id, selectedPostedcode id 1, user_id 2, selectedPostedcode('NW9,TW1,W1,HA8,NW1,SW1') My code does not show any checked or unchecked postcodes only shows blank checkboxes whenever I run it. I can not figure out what is wrong. Any help or …

Member Avatar
Member Avatar
+0 forum 4

Some time ago, I wrote some code, which uses DFS to find whether there is a path from a source vertex to a destination vertex. However, I am thinking now what if there is more than 1 possible way? What comes to my mind is save paths in an ArrayList as Arralist of integer and then for every path source-destionation check whether it was found already or not? Just like visitting the nodes, mark them as visited. Actually when I think about it, only visitted nodes should be enough won't even need to check whether paths are identical or noth …

Member Avatar
Member Avatar
+0 forum 9

Hi all, I am fighting with the following issue and was hoping you can give me some insights, as I am totally stuck. What's going on? I have 3 tables, created as follows: table category_p column id column name column type table home column id table link_category_p_home column category_p_id column home_id These tables are linked with eachother, where link_category_p_home is the many-to-many relation table. Now, I want to display for a selected home ID all connected category_p_id's as a checked checkbox. All category_p_id's which are not findable in the link_category_p_home table have to be displayed too, but remain unchecked. I …

Member Avatar
Member Avatar
+0 forum 11

Hi friends i am having n number check box, if i checked one check box it has to select all the similar values of the check box and the other check box should be disable. can any one help me to solve the issue i am having a java script for select similar values selection [CODE] <script type='text/javascript'> (function() { var allInps = document.getElementsByTagName('input'), allCb = []; for( var i in allInps ) if( allInps[ i ].type === 'checkbox' ) { allCb.push( allInps[ i ] ); allInps[ i ].onclick = likeMe; } function likeMe() { for( var i in allCb …

Member Avatar
Member Avatar
+0 forum 2

The End.