Describe the situation first. I have to submit a job seven days later. I only need to use PHP and js. I am working on a login interface, that is, after information is submitted, I don't want to refresh the page, I want to transition to new content through animation. Question: I need to submit a ticket using a notebook. I need to use .html to submit a ticket. I need to explain the situation first. I have to submit a job seven days later. I only need to use PHP and js. This is also the requirement.
I am creating a login interface, that is, after the information is submitted, I do not want to refresh the page, I want
Animation transitionTo the new content.
Q: What are the requirements of the website? Should I use the website to submit the table list? Should I use .html for submission or ajax?
Maybe I cannot express myself,
I actually want to ask the whole question.
Process(From submitting a form to prompting that the logon is successful, Note: Do not refresh the page) how is this done?
On the backend, I only use php !!!
Now, I do not consider learning asp.net.
Reply content:
Describe the situation first. I have to submit a job seven days later. I only need to use PHP and js.
I am creating a login interface, that is, after the information is submitted, I do not want to refresh the page, I wantAnimation transitionTo the new content.
Q: What are the requirements of the website? Should I use the website to submit the table list? Should I use .html for submission or ajax?
Maybe I cannot express myself,
I actually want to ask the whole question.Process(From submitting a form to prompting that the logon is successful, Note: Do not refresh the page) how is this done?
On the backend, I only use php !!!
Now, I do not consider learning asp.net.
Process:
Submit data using ajax
The backend processes the request and returns the result based on the situation. The result may fail or fail.
The ajax callback processes the back-end responses and modifies the page content as needed.
The landlord has always stressed that only php is used, but this process does not matter with the backend language.
Hello:
If you do not need to submit a new form, you can use ajax to reserve the corresponding ajax processing interface in the background.
The front-end uses jQuery's serialize ()
After the form is serialized, the request is sent to the backend for further processing ~
Ajax implementation is convenient and seamless, without page refresh