I am trying to keep my Ajax call from posting back to the server when using Prototype.
echo " <a href='my.php?action=show&id=".$fid."'
onclick=\"return display('".$fid."');\"> ";
echo "" .$fname."</a> ";
How can I do this?
Your display()
function should return false;
to prevent the default link action from happening.