Hi.
I have this bit of code
function changeStatus(itemId)
{
$.post("includes/processAccountInformation.php", { itemId: itemId},
function(data)
{
alert("Return data" + data);
});
return false;
}
and I use this line to fire it.
<a onclick="changeStatus(45)" href="#">
<img width="16" height="16" src="images/icons/greenflag.png">
</a>
When I click on the link the post request correctly fires but the page refreshes - how can I stop the page refreshing please.
Thanks
CHris