<div class="multiple_select_checkbox"> <div id="multiple_select_checkbox_choice"><input type="checkbox" name="slt_username" value="1001" />Siva</div> <div id="multiple_select_checkbox_choice"><input type="checkbox" name="slt_username" value="1002" />Raja</div> <div id="multiple_select_checkbox_choice"><input type="checkbox" name="slt_username" value="1003" />Kumar</div> <div id="multiple_select_checkbox_choice"><input type="checkbox" name="slt_username" value="1004" />Vijay</div> </div> <br /> <button onclick="javascript:validate();">Validate</button>
div.multiple_select_checkbox { width: 150px; height: 60px; overflow-x: hidden; overflow-y: auto; border: 1px solid #CCCCCC; }
function validate(){ for (var i=0;i<document.getElementsByName("slt_username").length;i++){ alert(document.getElementsByName("slt_username")[i].checked+"-"+document.getElementsByName("slt_username")[i].value); } }
Do you want to delete a "" lesson. Warning! This delete will remove all it's sub lessons and contents.
Do you want to delete a "" sub lesson. Warning! This delete will remove all it's contents.
Do you want to delete content.
Do you want to remove selected book from favorite books.
Do you want to delete selected author from your authors list.