Up next

Full Stack Web Dev (2020)| Using JS To Capture Form Data (Junior Dev)

subs count
Published on 05 Jan 2020 / In How-to & Style

In my continuation of beginner full stack development for junior developers, I take a look at how we use Javascript to capture
data from a form once the user clicks submit.

I review from the previous video what we learned about the method, action, and onsubmit attributes of the HTML form element;
how these attributes...
told our form what code to run once the form was submitted...
whether or not to redirect or refresh after the data had been submitted...
and how to submit that data: the GET or POST methods.

I then take a look at how to replace these HTML solutions with Javascript.
How event listeners can replace 'onsubmit'...
the event object can replace 'action'...
and DOM manipulation can replace 'method'

Previous video: https://www.mgtow.tv/watch/ful....l-stack-web-dev-the-

Javascript and the DOM: https://www.mgtow.tv/watch/ful....l-stack-web-dev-inje

github repo link: https://github.com/an-object-i....s-a/js_in_web_dev_us

Subscribe to my mgtow.tv: https://www.mgtow.tv/@an_object_is_a
Subscribe to my Youtube: https://www.youtube.com/channe....l/UCar-9GMCRk9QdKJXq

If you find value in what I do, think about supporting my channel:
Paypal: https://www.paypal.me/anobjisa
Bitcoin: 3H4NKKwPdbiE5Gtc3Uk2DiwszqHhrRbmKK
Ethereum: 0x48702412F448a27be03836fb6FE6456603668030
Litecoin: MNJ4uv3GD4r62VpQ8rHX1Pj1ihWCj74hCK

Find me here:
Bitchute: https://www.bitchute.com/channel/gPUmRsVcChxX/
Twitter: https://twitter.com/anobjectisa1
Minds: https://www.minds.com/an_object_is_a/
Instagram: https://www.instagram.com/an_object_is_a/

Show more
Get video games delivered to your door with GameFly
0 Comments sort Sort By

Up next