sanidhya kumar wrote:JSTL how to pass value of id in sql param?
You cant make use of <c:set> inside JS function. It can be used in jsp but outside of functions.
Other way round, make use of hidden text field and assign value to it as you were doing in that function.