var chkArray = []; $(".chk:checked").each(function() { chkArray.push($(this).val()); }); var selected; selected = chkArray.join(',') + ","; if(selected.length > 1){ alert("You have selected " + selected); }else{ alert("Please at least one of the checkbox"); }
Html, JAVA,DOTNET,Javascript, PHP, and JQuery Scripts and its issues with solutions
Wednesday, 17 September 2014
How to get checked values in checkbox in dynamically by using jquery and javascript?
Subscribe to:
Post Comments (Atom)
Feet/Inches to Meters Converter & Lbs to Kgs Converter
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Feet/Inches ⇄...
-
<?php $to = "somebody@example.com, somebodyelse@example.com"; $subject = "HTML email"; $message = " <h...
-
ISAIMINI.COM Download
-
<meta http-equiv="refresh" content="10" url="http://praba-2011.blogspot.in"> content="10" is...
No comments:
Post a Comment