I set my css style inside jsp file. I added two "a link" and now i want to change spring:theme by any jQuery method from other file (js script).
Question: How to write function onClick() for my "a link" to change this spring:theme from different file?
JSP file
<head>
<c:choose>
<c:when test="">
</c:when>
<c:otherwise>
<spring:theme code="standard.default.css.file" var="defaultCssFile" />
<link type="text/css" rel="stylesheet"
href="<c:url value="${defaultCssFile}" />" />
</c:otherwise>
</c:choose>
</head>
<div id="changeWrapper">
<ul>
<li><a href="#" class="change ch1" data-change2="firstCSS">a</a></li>
<li><a href="#" class="change ch2" data-change2="secondCSS">b</a></li>
</ul>
</div>