I use this code to open a link inside a specific div tag:

Code:
<a href="javascript:void(0);" onclick="loadExternalContentmypage();">My page</a>
with this function:

Code:
function loadExternalContentmypage() {
        jQuery('#content').load("mypage.html");
    }
This code wil open mypage.html in my div tag with a ID of #content.
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?