Hello, I have a jsp page and I am trying to pass a javascript variable as a parameter into a javabean function, but since it is enclosed inside <%...%> it does not recognize the javascript variable. The call looks like this:

var code = document.bpmSelect.Division.options[document.bpmSelect.Division.selectedIndex].value;

And the error is that the "code" var is unrecognized during the call to the bean, any help is appreciated!