<script type="text/javascript" language="javascript"> //Count the Total Selection in CheckBoxList - BusinessType $('#<%= cblBusinessType.ClientID %>').find('input:checkbox').click(function() { var totCount=0; jQuery('#<%= cblBusinessType.ClientID %>').find("input:checkbox").each(function() { if (jQuery(this).attr("checked")) { totCount++; } }); if(totCount > 3) { alert("Select up to 3 Business Types only..."); return false; } return true; }); </script>
13 Oct 2011
limit the no of items user can check in ckeckboxlist using jquery
Subscribe to:
Post Comments (Atom)
-
Introduction The SAP .Net Connector is a software component supplied by SAP that makes it possible to communicate between an SAP host and ...
-
SSRS will often timeout when starting under Windows Server: The error is: Windows could not start the SQL Server Reporting Services (MS...
-
Many times I found that the Reporting service is configured to access as "Anonymous Access", so any user having URL can access r...
No comments:
Post a Comment