Click here to Skip to main content
15,897,704 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have multiple text boxes and 3 check boxes..how do i not select just one check box??
I have tried the following code till now.
Someone please help me with code


XML
$(function () {
       $("input:text,checkbox").not("#cbSameAsBilling:checkbox").bind("click keyup mouseup  mousedown change", function () {

           if ($('#<%=txtSFirstName.ClientID %>').val() != $('#<%=txtBFirstName.ClientID %>').val() ||


       $('#<%=txtSTLD.ClientID %>').val() != $('#<%=txtBTLD.ClientID %>').val() ||
        $('#<%=txtSAutoCountry.ClientID %>').val() != $('#<%=txtBAutoCountry.ClientID %>').val() ||


});



});
Posted

1 solution

Check this out: jquery-exclude-a-selector[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900