code.progysm.com

Document.querySelectorAll

Paramètres:
	[[javascript/String] selecteurCSS

Retour:
	NodeList

Exemple:
	<input type="checkbox" name="chk" />
	<input type="checkbox" name="chk" />

	var chks = document.querySelectorAll('input[name="chk"]');
	console.log(chks.length); // 2

Voir aussi:
	Document.querySelector()