Events in JavaScript

  Рет қаралды 96,286

kudvenkat

kudvenkat

Күн бұрын

Пікірлер: 30
@someshnukala804
@someshnukala804 6 жыл бұрын
you are Technology Guru sir. Guru brahma Gurur Vishnu Gurur devo maheswaraha. Gurur sakhath para brahma tasmaisri Gurave namaha Pranam to your holy feet sir. Millions of students clearly understood your videos sir. You are really a great person in the world
@karansarang9712
@karansarang9712 9 жыл бұрын
He is a great and very patient teacher. Great for beginners in programming.
@komalmittal1691
@komalmittal1691 3 жыл бұрын
thanks a lot for so awesome javascript informative video.
@dgloria
@dgloria 6 жыл бұрын
ternary: var message =(confirm("submit?"))? "You selected OK": "You selected cancel"; alert(message); But the best I like in your videos, whenever I have a question, your answer is in the next video. :)
@naveenjami8221
@naveenjami8221 9 жыл бұрын
HI Venkat, your videos are very nice to learn and understand. your explanantion with examples is simply super. Thanks you so much. please update 2 or 3 videos per day if possible. It will be helpful to us.
@flifluflofli
@flifluflofli 7 жыл бұрын
sorry I dont undertsand when you do the confirmation function where the confirm is from IF ( confirm ("are you confirming ? ") {}) thanks to clarify
@shrutilengure4188
@shrutilengure4188 7 жыл бұрын
tnq sr.your videos are good one to easily explain the example,learn and understanding.,.
@mahmoudraslan8273
@mahmoudraslan8273 3 жыл бұрын
Hello Venkat, But at the beginning of the page loading, if we press the Tab key, these events will not happen as expected?
@sabarishchandramouli6418
@sabarishchandramouli6418 5 жыл бұрын
Thanks for your videos Venkat. At 11:43, you are passing a controlID parameter and then using it in the document.getelement(ControlID). Can you please let me know which element in the DOM has the ID - ControlID.
@lifet4800
@lifet4800 5 жыл бұрын
COntrolID is a parameter passed from input text box , that is txtLastname
@taruchitgoyal3735
@taruchitgoyal3735 7 жыл бұрын
Hi If I have a form in html, and I want to perform validation in text field, without repeatedly calling the function written in script for each text field. Rather the validation function should get executed on its own whenever the user tries to type on any of the text field. Can this be achieved?
@birkhansonkan4236
@birkhansonkan4236 9 жыл бұрын
Why make a variable "control" if you can use directly the id of an element in your script? So: var control= document.getElementById("btn"); control.style.background="red"; instead of this you can use: btn.style.background="red"; The last option also works but why dont they use the second option? Is there something wrong with this method ?
@alanwong202
@alanwong202 9 жыл бұрын
Birkhan Sonkan you misunderstand. document.getElementById("btn") means: from this document get me a element with an id of 'btn' and assign it to the variable which I'd like to name as 'control'. In your case btn.style.background cannot be used as 'btn' is a variable which has not been declared yet. However the user could have done var btn= document.getElementById("btn"); //notice variable name is called 'btn' btn.style.background="red"; However naming your javascript variables the same as HTML/CSS id's or classes is not good as it can become confusing
@aj90271
@aj90271 9 жыл бұрын
+Birkhan Sonkan Hey it doesn't look like the other people directly answered your question. It IS possible to do it like you've shown, but from what I've read online, it is considered bad practice. Take a look at this page from stack overflow: stackoverflow.com/questions/7826737/directly-reference-html-elements
@birkhansonkan4236
@birkhansonkan4236 9 жыл бұрын
+Alex Jordan Thanks man after a lot of Tutorials online i now understand the difference between DOM and Javascript so the answer is the difference between these two. The one is a JavaScript selection the other is a DOM selection method so im getting better and better by day. :) Thanks for the reference.
@jiturcm1
@jiturcm1 9 жыл бұрын
nice
@drcvagos-iu
@drcvagos-iu 6 жыл бұрын
well done, sir :)
@bitsnnbytes
@bitsnnbytes 6 жыл бұрын
excellent
@drcvagos-iu
@drcvagos-iu 6 жыл бұрын
congratulations
@mahipalkamanchi
@mahipalkamanchi 9 жыл бұрын
thank u sir...!
@reassume4826
@reassume4826 7 жыл бұрын
i didn't get why we needed a argument over there?? why didn't we use id name in get by id??
@birabir8595
@birabir8595 6 жыл бұрын
in this example theres two so in order to receive id of both, argument is used
@vladvira5271
@vladvira5271 7 жыл бұрын
At least i know how much means JQuery now!
@filiplahoda248
@filiplahoda248 5 жыл бұрын
looks more like an event in HTML
@mahendrakumar-bj2nt
@mahendrakumar-bj2nt 7 жыл бұрын
Mk
@sabarishchandramouli6418
@sabarishchandramouli6418 5 жыл бұрын
Thanks for your videos Venkat. At 11:43, you are passing a controlID parameter and then using it in the document.getelement(ControlID). Can you please let me know which element in the DOM has the ID - ControlID.
@sidhantsingh1648
@sidhantsingh1648 3 жыл бұрын
Control ID is just a variable used inside the function.....whichever ID he is validating he will pass that ID while calling the function and that value will be copied in ControlID...
JavaScript timing events
15:48
kudvenkat
Рет қаралды 78 М.
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 37 МЛН
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 6 МЛН
Car Bubble vs Lamborghini
00:33
Stokes Twins
Рет қаралды 40 МЛН
How to create image slideshow using JavaScript
17:13
kudvenkat
Рет қаралды 116 М.
The Async Await Episode I Promised
12:04
Fireship
Рет қаралды 1,1 МЛН
Using regular expressions in JavaScript
9:05
kudvenkat
Рет қаралды 94 М.
CoPilot Review: My Thoughts After 6 Months
9:45
ThePrimeagen
Рет қаралды 555 М.
addeventlistener and removeeventlistener in JavaScript
11:51
kudvenkat
Рет қаралды 60 М.
JavaScript arguments object
10:10
kudvenkat
Рет қаралды 71 М.
Test-Driven Development // Fun TDD Introduction with JavaScript
12:55
PROOF JavaScript is a Multi-Threaded language
8:21
Beyond Fireship
Рет қаралды 288 М.
Event bubbling in JavaScript
15:01
kudvenkat
Рет қаралды 75 М.
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 37 МЛН