hai,
I have 2 javascript funtions.I want to call these 2 functions using one button.
my code is like this,
[html]
<input type="button" value="ok" onclick="valida te(this),change ()">
[/html]
It is working.But after executing the first function its automatically goes to the second function.Within the first function i have displayed some messages using innerhtml and also it returns false. The messages are also displayed but the second function also executing.The control automatically goes to the next page.
Can enybody please help me.
I have 2 javascript funtions.I want to call these 2 functions using one button.
my code is like this,
[html]
<input type="button" value="ok" onclick="valida te(this),change ()">
[/html]
It is working.But after executing the first function its automatically goes to the second function.Within the first function i have displayed some messages using innerhtml and also it returns false. The messages are also displayed but the second function also executing.The control automatically goes to the next page.
Can enybody please help me.
Comment