Double click needed in firefox
I have a list with links, once i click a link i load an external html file inside the the content div, called leftColum. This works great on IE but i need to double click on firefox for the html to be loaded! any ideas?
function replaceContent( buttonId, content ){
$(document).ready(function(){
$(buttonId).click(function(){
$("#leftColumn").load(content);
})
});
return false;
}
//more code
//i call the function here
<li><a id="link1" href="#" onclick="return replaceContent('#link1','content.html');">First Link</a></li>