Hi
i have a requirement to pass the parameters say account No to a javaScript when the user clicks a link , The form action will also be set in JavaScript, and form is submitted in JavaScript,Its working fine in firefox browser, but its not working in IE , Is there any other way other than Calling the
JavaScript Function from <a:href =javascript
:viewAccountDetail>, This solution does not suit for me since it shows the account No in Status Bar.Thanks in Advance
- function viewAccountDetail(friendlyID,finCompID)
-
{
-
document.getElementById('accountNo').value=accountNo;
-
document.forms['accounts'].action=friendlyID;
-
document.forms['accounts'].method="post";
-
document.forms['accounts'].submit();
-
return true;
-
}
-
[HTML]<form id="accounts" name="accounts" method="post">
<input type="hidden" id="accountNo" name="accountNo" />
</form>
<a href="javascript
:void(0);" onClick="return viewAccountDetail('${account.URL}','${account.acco untNo});">Account Desc</a>[/HTML]