1.

How To Use Jquery In Liferay?

Answer»

We NEED to provide the entry like below in our JSP files. So that it can read the provided JAVA script path very EASILY and we can use jQuery accordingly.

<script type="text/javascript" src="<%=themeDisplay.getPathThemeCss()%>/../js/jquery-1.7.2.min.js"></script>

We need to provide the entry like below in our JSP files. So that it can read the provided java script path very easily and we can use jQuery accordingly.

<script type="text/javascript" src="<%=themeDisplay.getPathThemeCss()%>/../js/jquery-1.7.2.min.js"></script>



Discussion

No Comment Found