Need help on Javascript
hello gurus,
i have another one for you. i have this html form that after clicking submit, the data gets validated by an external javascript function_test.js. i programmed it so if function return false, alert window will pop up.
my problem is this. i don't want to display the small javascript window anymore when function returns false, and definitely still like to use the external javascript file. i would like the errors, alerts, or any other messages to be displayed on the browser where i originally submitted the form. could this be done, or am i stuck with the small javascript alert windows?
here's my code scenario:
<html>
.
.
<script> xxxxpoints to my external javascript file.
</script>
.
.
<form method="post" onsubmit=validate(this)>
.
.
.
<input....
</form>
.
.
.
</html>
thanks guys!
jun tuko
|