CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 How do I add an javascript event (onblur) to a text-element

Print topic Send  topic

Author Message
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
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.