Ole Kirkholt
|
Posted: 08/20/2002, 4:23 AM |
|
Hi
I would like to add the onblur() javascript event to a text-element ?
I have tried putting :
<script language="JavaScript1.1">
document.formname.elementname.onblur() = 'alert('hello')';
</script>
into the footer of the form, but the event doesn't fire.
Best regards
Ole
|
|
|
Alexey Alexapolsky
|
Posted: 08/23/2002, 2:26 AM |
|
Try
<script language="JavaScript1.1">
fucntion myfunc() {
alert("hello");
}
document.formname.elementname.onblur = myfunc ;
</script>
--
Alex,
Support Engineer
CodeCharge Team
"Ole Kirkholt" <ole@kirkholt.com> wrote in message
news:ajt8s9$bbl$1@news.codecharge.com...
> Hi
>
> I would like to add the onblur() javascript event to a text-element ?
>
> I have tried putting :
>
> <script language="JavaScript1.1">
> document.formname.elementname.onblur() = 'alert('hello')';
> </script>
>
> into the footer of the form, but the event doesn't fire.
>
> Best regards
>
> Ole
>
>
|
|
|
|