Загрузка страницы

Creating an AJAX Submit Form using JavaScript - Tutorial For Beginners

You can use AJAX within JavaScript to create a form submission that does not require a page reload or redirection. This can enhance the user experience and you'll learn that from this video.

The code begins with a few standard HTML input fields and a submit button. When the submit button is pressed, the JavaScript code will make a request to the server which will perform the validation. The web browser will then receive a response from the server, containing information about the attempted login: whether or not it was successful AND any error messages that came with it. From there, the web browser can either display those messages or redirect the user.

In this video we'll be using the above logic to create a basic Login Form.

Link to PHP Source Code (check-login.php):
https://github.com/dcode-youtube/js-ajax-form-submission/blob/master/check-login.php

Support me on Patreon:
https://www.patreon.com/dcode - with enough funding I plan to develop a website of some sort with a new developer experience!

For your reference, check this out:
https://www.youtube.com/watch?v=PIKrh5ofQF0

Follow me on Twitter @dcode!

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!

#dcode #javascript #webdev

Видео Creating an AJAX Submit Form using JavaScript - Tutorial For Beginners канала dcode
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
20 июня 2018 г. 18:22:45
00:28:01
Яндекс.Метрика