Return to Snippet

Revision: 67691
at October 17, 2014 19:35 by Igeco


Initial Code
function checkOneChecked () {
		if ($("input[type=checkbox][checked]").length != 0) {
			return true;
		}
		return false;
	}

Initial URL

                                

Initial Description
Vérifie si une checkbox a été cochée

Initial Title
Check if one checkbox is checked (from a list, a table...)

Initial Tags
javascript, table

Initial Language
jQuery