struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gemes Tibor <>
Subject Re: calling ACTION from SEARCH button, results displayed in new w indo w
Date Wed, 04 Dec 2002 15:47:40 GMT
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;
	return false;

<input type="button" onclick="return populateLOV(this)">


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message