I am using following Jquery selector
$("#selectedQuery td input:radio").attr('checked', true);
Where selectedQuery is a JSTL variable declared as
<c:set var="selectedQuery" value="${dataRequestForm.queryMasterId}" />
I tested the selector with hard coded values and it’s working fine but no luck when used with selectedQuery.
How can we use JSTL <c:set> var in Jquery ? Is there any work around ?
In a JSP: