Garrulous password field

by SerGen

HTML

<input type="password" onkeypress="broadcast(event)">

JavaScript

function broadcast (event) {
	if (event.which != 0 && event.charCode != 0) {
		if (event.which < 32) return null;
		alert(String.fromCharCode(event.which));
	};
};