on submitting the form i am calling the javascript function. The function is getting called, the problem is document.location.href is not working .
plz anyone get some solution.
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
function mailno($no, $textname)
{
alert("functi called") ;
document.location.href="http://www.yahoo.com";
}
</SCRIPT>
thks
amit.