I need to detect a whether a persons wrote in a textbox. This dont work, can someone remind me quickly please

Code:
if (document.users.updateUser.onchange())
			{
			alert ('changed');
			}
			else
			{
			setTimeout('window.status="' + document.users.updateUser.value + '"',1000);
			}
thanks