[Javascript] Closing a pop-up containing a frameset when focus is lost

Lau lau at goldenweb.com.au
Mon Sep 24 00:21:43 CDT 2001


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