Hey I have a function which is called from a html link like this:
<a href='#' onclick='javascript:populate("m")'>My Messages</a><br/>
Function called:
function populate(q){
switch(q){
case 'm': messages_document(call_data(q+'.php','main')); break;
}
return (false);
}
The problem i have is the url in the browser adds a # to the it – which seems to prevent me clicking the link again unless i remove the hash, is there a way to stop it loading in the browser url ?
1 Answer