PHPMYSQLJQUERY
JQUERY CHECKALL,UNCHECKALL,CHECKBOX COUNT
HappyLife.In
happylife
Wednesday, May 27, 2009
Get checkbox count using JQUERY
Demo Snippet is below
<script src="jquery.js" type="text/javascript">
function chk_box_count(){
var lenChkBox = $("input:checked").length;
alert(lenChkBox);
}
<script>
<form>
<input type="checkbox" name="chk1" >
<input type="checkbox" name="chk1" >
<input type="checkbox" name="chk1" >
<input type="button" value="Check box count" onclick="chk_box_count()" >
</form>
1 comment:
Anonymous
July 15, 2009 at 12:26 AM
Nice snippet
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Home
Subscribe to:
Post Comments (Atom)
Select All,Select None,Select Invertion
Select All
Select None
Invert Selection
Add to basket JQUERY
Image Fly To Basket
Add to cart
Code take from jbasket fly to basket site,,,,
Nice snippet
ReplyDelete