I am building a JSP page that contains several IF statements when checking the data being loaded. I would like to call a jQuery function if one of those IF statements renders true. Is this possible?
example:
<c:if test="${!setvariable}">
$(function(){
//execute code here;
});
</c:if>
I can only find answers if a JSP is called within a Jquery function, and not this opposite way.