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
@karansarang97129 жыл бұрын
He is a great and very patient teacher. Great for beginners in programming.
@komalmittal16913 жыл бұрын
thanks a lot for so awesome javascript informative video.
@dgloria6 жыл бұрын
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. :)
@naveenjami82219 жыл бұрын
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.
@flifluflofli7 жыл бұрын
sorry I dont undertsand when you do the confirmation function where the confirm is from IF ( confirm ("are you confirming ? ") {}) thanks to clarify
@shrutilengure41887 жыл бұрын
tnq sr.your videos are good one to easily explain the example,learn and understanding.,.
@mahmoudraslan82733 жыл бұрын
Hello Venkat, But at the beginning of the page loading, if we press the Tab key, these events will not happen as expected?
@sabarishchandramouli64185 жыл бұрын
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.
@lifet48005 жыл бұрын
COntrolID is a parameter passed from input text box , that is txtLastname
@taruchitgoyal37357 жыл бұрын
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?
@birkhansonkan42369 жыл бұрын
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 ?
@alanwong2029 жыл бұрын
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
@aj902719 жыл бұрын
+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
@birkhansonkan42369 жыл бұрын
+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.
@jiturcm19 жыл бұрын
nice
@drcvagos-iu6 жыл бұрын
well done, sir :)
@bitsnnbytes6 жыл бұрын
excellent
@drcvagos-iu6 жыл бұрын
congratulations
@mahipalkamanchi9 жыл бұрын
thank u sir...!
@reassume48267 жыл бұрын
i didn't get why we needed a argument over there?? why didn't we use id name in get by id??
@birabir85956 жыл бұрын
in this example theres two so in order to receive id of both, argument is used
@vladvira52717 жыл бұрын
At least i know how much means JQuery now!
@filiplahoda2485 жыл бұрын
looks more like an event in HTML
@mahendrakumar-bj2nt7 жыл бұрын
Mk
@sabarishchandramouli64185 жыл бұрын
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.
@sidhantsingh16483 жыл бұрын
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...