juliep
11-16-2007, 02:45 PM
Hi,
I am new to JavaScript.
I have read that there is a workaround to passing a JavaScript variable to a Java Server Page but would like confirmation that this is indeed possible and more information on exactly how to do this.
I have a JavaScript function that is called with an event when the user selects an item from a drop-down. I successfully capture this item in my JavaScript function and assign it to a javascript variable. Now, I would like to pass that variable back to my JSP (which is in the same file as the javascript) and ultimately use that variable as a condition to a query.
Anybody have ideas? Thanks.
I am new to JavaScript.
I have read that there is a workaround to passing a JavaScript variable to a Java Server Page but would like confirmation that this is indeed possible and more information on exactly how to do this.
I have a JavaScript function that is called with an event when the user selects an item from a drop-down. I successfully capture this item in my JavaScript function and assign it to a javascript variable. Now, I would like to pass that variable back to my JSP (which is in the same file as the javascript) and ultimately use that variable as a condition to a query.
Anybody have ideas? Thanks.