You can use the following code to dynamically generate the action where the
submit is to happen.
function linkEditClick()
{
document.formName.action="/editAction?id=" +
document.formName.comboName.value;
document.formName.submit();
}
function linkAddClick()
{
document.formName.action="/ad
You could use JavaScript to submit the form on clicking the link.
Have a hidden field to track which link is clicked.
For e.g.. Use this function in the link...
function clickLink(linkId)
{
document.formName.hiddenElementName.value=linkId;
document.formName.submit();
}
PS: you ne
2 matches
Mail list logo