There are lots of ways but most commonly it is going to 
look something like:

<html-el:text property="customer.name"
onchange="myJavaScriptFunction(this)"/>

That will pass the HTML forms instance of the customer.name 
form element to myJavaScriptFunction where you can script 
to your hearts content.

David Morris

>>> joepluta@xxxxxxxxxxxxxxxxx 10/9/2003 4:02:17 PM >>>
> From: David Morris
> 
> It just doesn't provide that as part of the base
> package because that is application specific and easily added.

How do I attach a JavaScript function to a Struts field?  It's one
line
in a JSP.

Joe

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.