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]