If you wanted to use text links and Javascript, the easiest way would be just to make the script submit the form. Each link would have to (1) somehow get across whether to edit or delete and (2) submit the form. The simplest way I can think of at the moment is to do the beginning of your form like this:
<form action="process_edit_del.php" method="post">
<input type="hidden" name="action" value="" id="checkBoxAction" />
<a href="javascript:submit('Edit');">Edit</a> |
<a href="javascript:submit('Delete');">Delete</a>
...
...and have your script like this:
<script type="text/javascript">
function submit(action) {
var actionRef = document.getElementById('checkBoxAction');
actionRef.value = action;
actionRef.form.submit();
}
</script>
I haven't tested this but I think it should work. What it does is use javascript set the value of a hidden field called 'action', and then submit the form. The contents of the $_POST array will be the same.
[edit: I don't know why there are spaces in the <a href="javascript:... part, but there shouldn't be. Forum bug.]