2006/4/24, Martin Kutschker <Martin.Kutschker at n0spam-blackbox.net>: > Why not onchange? With onkeyup the check will be done for each letter you type. onchange is triggered when the focus leaves the input field. When the user clicks save while the cursor is in the input field, he will not see the warning. Markus