[Webkit-unassigned] [Bug 18706] New: onblur is called twice

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 23 18:17:27 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18706

           Summary: onblur is called twice
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ghulands at mac.com


<html>
<head>
</head>
<body>
<form>
<script>
function validate(field, regex, error) {
    if (field.value.match(regex) == null) {
        alert(error);
        field.focus();
    }
}
</script>
<input onBlur="validate(this, new RegExp('^\\d{8}$'), 'ID must be 8 digits
long.');" type="text" name="19.3.0.1.0.0.1.1.1.3" />
<input type="text"/>
</form>
</body>
</html>


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list