•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 374,036 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,856 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 936 | Replies: 1
![]() |
| |
•
•
Join Date: Apr 2007
Posts: 24
Reputation:
Rep Power: 2
Solved Threads: 0
Hai i have using the checkbox in for loop.
I need the urgent help from anyone,
for example in the loop there is having 5 checkbox if i checked 3 of the ckeckboxes and 2 of the checkboxes are unchecked. I need to get the values for checked checkboxes and unchecked checkboxes. Because if i checked the checkboxes, those values need to be inserted into the database. Those for unchecked checkboxes values need to be deleted from the database. Can anyone help me for this
i am using the following jsp code for this. If anyone can know about this please post me the sample code.
Thanks & Regards,
Tamilvanan
I need the urgent help from anyone,
for example in the loop there is having 5 checkbox if i checked 3 of the ckeckboxes and 2 of the checkboxes are unchecked. I need to get the values for checked checkboxes and unchecked checkboxes. Because if i checked the checkboxes, those values need to be inserted into the database. Those for unchecked checkboxes values need to be deleted from the database. Can anyone help me for this
i am using the following jsp code for this. If anyone can know about this please post me the sample code.
<form name="confirmcontainer" id="confirmcontainer" method="post" action="submit.jsp">
<% for(int i=0;i<value.length;i++) {%>
<tr>
<td><input name="assigncontainer_chkbox" d="assigncontainer _chkbox" type="checkbox" value="<%=value[0]%>"></td>
<td class="bottomborder"><div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=value[1]%> </font></div></td>
<td bgcolor="#FFFFFF" class="bottomborder"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=value[2]%></font></td>
</tr>
<tr><td><input type="submit" name="submit" vlaue="submit"></td></tr>
<% } %>
</form>Thanks & Regards,
Tamilvanan
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,588
Reputation:
Rep Power: 18
Solved Threads: 187
come back in about a year. Maybe we will have time for you by then.
In other words, there's nothing urgent about it for us. You stating that it is, and thus that you're more important than everyone else and we should all drop what we're doing to help you in incredibly rude.
In other words, there's nothing urgent about it for us. You stating that it is, and thus that you're more important than everyone else and we should all drop what we're doing to help you in incredibly rude.
42 Private messages asking for help will be ignored
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Java Marketplace
- Previous Thread: Hi I am a new user to java and would like an advise where to start.
- Next Thread: Assignment on java 2 j2sdk1.4.2_04



Hybrid Mode