2002. december 4. 16:31 dátummal Cook, Graham ezt írtad:
> The field on the form is part of a company name, the popup window will be a
> list of all names in the database that match what the user has typed in the
> input field.
>
> I know that I need to use Javascript to create the popup, what i need to
> know is whether or not i can pass the JSP field into a javascript function,
> then call an action. Or do i need to hardcode the field reference in the
> Javascript method ie . document.form.companyname
This is really OT on this list.
function populateLOV(obj) {
var url=...;
url += '?myParam=' + obj.value;
showLOV(url);
return false;
}
<input type="button" onclick="return populateLOV(this)">
Tib
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>