Hi Numan,
What your code is trying to do is call a submit function and pass the a tag as a parameter to it, if this is what you want, you need a submit function something like...
Code:
function submit(pLink){
document.forms.myFormName.submit();
}
otherwise you could just change your onclick call to...
Code:
onclick="document.forms.myFormName.submit();"
HTH,
Chris