I am having a form . In this form i am having one add button and one Delete button will come .
when i click on add button 3 combo boxes and one checke box will come.
When i click on delete button what ever the check boxes i had selected they have to be deleted.
I am doing all these stuff in jsp. Here is my code
<INPUT type="button" name="deleteCondBtn" value="Delete"
onClick="checkBoxValidation('<%= RuleSessionManager.RuleRequest.DELETE_CONDITIONS %>')"
value="<%=condition.getId()%>" id = 'myOptions'>
I had written code for checkBoxValidation. The function is
if(document.ruleForm.<%=RuleSessionManager.RuleParameters.DELETE_CONDITION%>.checked == false)
alert("plz check the condition ");
This function is working fine for one check box.
When i click on add button one more check box will along with 3 comboboxes.
Now when i click on delete button() I am not going into if condition and getting 500 error.
How can i get plz check the check box??
Can anyone tell me how to do this??
By Brian in forum ASP.NET
Last Post: 07-16-2008, 02:43 PM
Last Post: 05-27-2008, 11:17 AM
By viviensiu in forum ASP.NET
Last Post: 05-18-2007, 03:25 AM
Last Post: 10-01-2001, 01:06 PM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL