Input text / local variables into Javascript

thumbs_up_ico0thumbs_down_ico0
Hello all,
i have been trying to find a way to either:

Get the fields from a form and use them in an expression with Javascript;
or
Get some local variable into an expression with Javascript;

I am pretty convinced i saw being done already, but i cant seem to find anay reference to it.


Thank you in advance.
thumbs_up_ico0thumbs_down_ico1
nice to know.
thumbs_up_ico0thumbs_down_ico0
Anyone?