Sat. Jan 11th, 2020

Host your Website

Read and learn

Getting and setting data on a web page with JavaScript | Coding tutorial

2 min read



Here, we will use JavaScript code in the JavaScript console 💻 to get and set data on a web page 🌐.

1) Web pages, Documents, Elements, Ids, getElementById
2) Verbs and Nouns
3) Getting and Setting values

💥🦎 DEEPLIZARD COMMUNITY RESOURCES 🦎💥

👋 Hey, we’re Chris and Mandy, the creators of deeplizard!
👀 CHECK OUT OUR VLOG:
🔗 https://www.youtube.com/channel/UC9cBIteC3u7Ee6bzeOcl_Og

👉 Check out the blog post and other resources for this video:
🔗 https://deeplizard.com/learn/video/wSRuo5G1sk8

💻 DOWNLOAD ACCESS TO CODE FILES
🤖 Available for members of the deeplizard hivemind:
🔗 https://www.patreon.com/posts/27743395

🧠 Support collective intelligence, join the deeplizard hivemind:
🔗 https://deeplizard.com/hivemind

🤜 Support collective intelligence, create a quiz question for this video:
🔗 https://deeplizard.com/create-quiz-question

🚀 Boost collective intelligence by sharing this video on social media!

❤️🦎 Special thanks to the following polymaths of the deeplizard hivemind:
Prash

👀 Follow deeplizard:
Our vlog: https://www.youtube.com/channel/UC9cBIteC3u7Ee6bzeOcl_Og
Twitter: https://twitter.com/deeplizard
Facebook: https://www.facebook.com/Deeplizard-145413762948316
Patreon: https://www.patreon.com/deeplizard
YouTube: https://www.youtube.com/deeplizard
Instagram: https://www.instagram.com/deeplizard/

🎓 Deep Learning with deeplizard:
Fundamental Concepts – https://deeplizard.com/learn/video/gZmobeGL0Yg
Beginner Code – https://deeplizard.com/learn/video/RznKVRTFkBY
Advanced Code – https://deeplizard.com/learn/video/v5cngxo4mIg
Advanced Deep RL – https://deeplizard.com/learn/video/nyjbcRQ-uQ8

🎓 Other Courses:
Data Science – https://deeplizard.com/learn/video/d11chG7Z-xk
Trading – https://deeplizard.com/learn/video/ZpfCK_uHL9Y

🛒 Check out products deeplizard recommends on Amazon:
🔗 https://www.amazon.com/shop/deeplizard

📕 Get a FREE 30-day Audible trial and 2 FREE audio books using deeplizard’s link:
🔗 https://amzn.to/2yoqWRn

🎵 deeplizard uses music by Kevin MacLeod
🔗 https://www.youtube.com/channel/UCSZXFhRIx6b0dFX3xS8L1yQ
🔗 http://incompetech.com/

❤️ Please use the knowledge gained from deeplizard content for good, not evil.

5 thoughts on “Getting and setting data on a web page with JavaScript | Coding tutorial

  1. Google got rid of an id attribute on its input element. At this moment the element can be selected via document.querySelector('valueOfclassAttribute'); for example. I have a question: how to simulate pressing of enter on keyboard (basically submitting request for a search) in browser through dev-tools console? How to trigger the action?
    Update: I'm glad that I've asked here and not on a stackoverflow. document.getElementById('formId').submit(). Also I've learned about synthetic events – it was interesting to learn about dispatchEvent method.

  2. Lizard – are you a trader?— do you write code for scripts that can be traded onTradingView or that can be used in trading bots—Just curious – do you have a TradingView account?—if so what is your username and I will contact you-thx

Comments are closed.

Copyright © All rights reserved. | Newsphere by AF themes.