Answer the question
In order to leave comments, you need to log in
How to create a web page in js?
There is a form with an action attribute with a value of auth.js (form handler). After submitting the form, the auth.js file is opened, and instead of being executed, the browser simply displays the code of the file. How to fix the error?
Answer the question
In order to leave comments, you need to log in
well, here it’s either client js, and then there shouldn’t be anything as an action, and as onsubmit there should be a handler that will remove the standard processing and perform the necessary actions on the client, or it’s server js and everything is much more complicated there, but conditionally there on js own web server, for example on node.js
But just "auth.js form handler" does not work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question