[Javascript] Onblur action hanndler

Lau lau at goldenweb.com.au
Mon Sep 24 00:30:27 CDT 2001


Repost with the proper subject.

Hi all,

How do I associate a procedure with an input field?

I want to call function onblurAction() when the onblur() is triggered but I don't want to put it in
the HTML tag.

I thought it was something like:

document.FormName.FieldID.onblur = onblurAction();

function onblurAction() {
alert("hello");
}

but it ain't working!  Can someone please help me out?

Peace,
Lau





More information about the Javascript mailing list