+ 2
I want to press the next button but it should check if the conditions are met before answering the link. Note: Link two together
<a href="www.something.com"><button id="mail" onclick="next ()">Next</button></a> https://code.sololearn.com/W28UVIskH59M/?ref=app https://code.sololearn.com/Wm1vo24aCc8U/?ref=app
3 Respostas
+ 3
Put 'return next()' instead next() like
<a href="url">
<button id="btn" onclick="return next()">Next</button>
</a>
+ 1
Alright thanks. I have put it although after filling the form and clicking submit I want it to go to the library address.
+ 1
No problem again. Thanks it worked. Thank you so much.