How can I retrieve a variable in JavaScript from JSP?
Here is the code snippet:
<li class="cid<%=cat.getDisplayCategoryBO().getDispCtgrNo()%>">
<a href="<%=url%>" onclick=""><%=cat.getDisplayCategoryBO().getDispCtgrNm()%>
</a>
</li>
I am trying to access the value of
<%=cat.getDisplayCategoryBO().getDispCtgrNo()%>
in JavaScript.
Can anyone provide assistance with this?