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

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

function loadExternalContentmypage() {
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?