I use this code to open a link inside a specific div tag:
with this function:Code:<a href="javascript:void(0);" onclick="loadExternalContentmypage();">My page</a>
This code wil open mypage.html in my div tag with a ID of #content.Code:function loadExternalContentmypage() { jQuery('#content').load("mypage.html"); }
The code works fine in firefox and IE, but dosent work in chrome.
Anyone have a suggestion?
or perhaps some other javacode i should use?


Reply With Quote






Bookmarks