Thank You, I was downloading 1.1 when I sent the question.  

A little impatient. 

Thanks,  Dave.

-----Original Message-----
From: jon * [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 21, 1999 3:56 PM
To: ECS
Subject: Re: Javascript onChange= for select boxes


on 12/21/99 12:30 PM, Hardy, David <[EMAIL PROTECTED]> wrote:

> Would appreciate any guidance on how to add a Javascript call to a select
> box, something like:
> 
> <input type=select name=select onChange="myJavaScriptFunction()">
> 
> Select select = new Select()
> .setName("select")
> ??? .setScript ???
> 
> Thank You in advance,

simple:

Select select = new Select();
select.setName("select");
select.setOnChange("myJavaScriptFunction();");

read the code and/or the javadocs...it makes it easier to figure this stuff
out...

-jon

-- 
Come to the first official Apache Software Foundation
Conference!  <http://ApacheCon.Com/>




--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]


--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to