When a user click a button I call a Java Script function "validateFields".
In this funciont I do some validations, regarding what they typed on the Input Text.
I have a value in variable X that I need to use it on Java, because I also use Java in this function in order to process some activities.
Regarding this I have two questions to solve this problem
There is a way to call the JavaScript variable in Java?
There is a way that in Java I could get the value typed in the Input Text?
I hope I explaned my self.
Thanks in advance.