I have a form when the form is submitted i'll call one javascript function and action it to to form handler.
<form action="subscribe.php" onsubmit="return form_check(this)" method="post">
<input type="text" value="">
<input type="submit" value="click">
</form>
Everything Works fine, Now i want to send the same form fields to another javascript function so i tried like this on submit code
<form action="subscribe.php"
onsubmit="return (form_check(this) & another_script(this))" method="post">
Added & in onsubmit but the function is not triggering when the button is clicked. I think this is due to the action="subscribe.php"
in the form.
I want to send the form value to another javascript function also. how can i achieve this?