I am trying to figure out how to set a parameter x in JSTL for a function I have, but when I input values as "x" it returns as a string.
JS:
function updateValue(x)
{
<q:set var="quid" value="x" scope="session"/>
}
HTML:
<div class="primary-button">
<button ><a href="/pro/usercontrol/answ" onclick="updateValue(${c-nFilters+1})" name="qusid"
>Update Value</a>
</button>
</div>
The value keeps getting set as the string "x" instead of the actual value.