<script type='text/javascript' src='js/jquery.js'></script>
<script type="text/javascript">
$(document).ready(function() {
$("#gt").click(function() {
$("#internal").load('second.jsp'); //not working....
alert("loaded");
});
});
</script>
Happy new year...................
<a href="#" id="gt"> Click me </a>
<p id="para"></p>
<div id="internal"> a</div>
I am working in eclipse with Liferay 6.1. JQuery is working properly...i am able to change innerHTML of divisions and alert box also coming.. But not able to load page inside the div. The same code is working properly in simple Dynamic web project. Can any body help me pls...