How to pass a outsystems local variable or input param into a Javascript function?

For web applications, how to pass an outsystems local variable or input param into a Javascript function? Or how to reference an outsystems variable or input param inside a javascript function code block?

Hello fast answer:


in javascript screen property i dotn think you can


but in expression with escape content No

you can:

EDIT: instead of using an expression you can use silk web patters javascript or jquery widgets