I want to call two js functions using one submit button.I have tried the below code.But it gives error.
Code:
<script language=javascript>
function one()
{
document.write("hai");
}
function two()
{
document.write("All");
}
</script>
<form>
<input type=button value="ok" onClick="two();one()" >
</form>
Code:
one is not defined.
Pls anybody solve this ....
Regards
Rekha

