JavaScript Tutorial in Hindi for Beginners [Part 64] - Prevent Default in JavaScript

preview_player
Показать описание
#Javascript #Tutorial #Hindi

In this video i will talk about Prevent Default in JavaScript.

For example:

Prevent a submit button from submitting a form
Prevent a link from following the URL

The Event interface's preventDefault() method tells the user agent that if the event does not get explicitly handled, its default action should not be taken as it normally would be. The event continues to propagate as usual, unless one of its event listeners calls stopPropagation() or stopImmediatePropagation(), either of which terminates propagation at once.

Join this channel to support Tech Gun:
Рекомендации по теме
Комментарии
Автор

than you so much bro! for your efforts love from Nepal!

ganeshkhadka
Автор

ao much helpful this video ...thank you so much bro...!

rabiualislam
Автор

Always present sir 🙏❤️🙏❤️🙏❤️. Sir abhi kita part bacha ha please reply 🙂😑😑

rajatchaurasia
Автор

Mene is vedio se aaj sikha thank u sir

drashtithekdi
Автор

What Do You Insist To Do After FrontEnd Devlopment?

MilanParmar.
Автор

Sir jase aapne photo shop kai baare mai btawa, essi treh blender kai baare mai bhi courses kerwaae plzzzz.

jaysharma
Автор

Sir plz let me know how many lectures left for JS??

shubhamnarode
Автор

vishwajeet sir ecma 6 web api promises kab start karenge

vinitdongre
Автор

Please sir java tutorial pr bhi bnaiye...its request 🙏

dhirajdhamija
Автор

Sir Google login use firebase webapp me profile photo name and email display karne ka tutorial upload karo

chakra
Автор

sir lecture no 62 2 times write hua ha

hhamzazaibbhatti
Автор

Sir form validation ke baad kese submit kare form ko

yogeshyt
Автор

Sir prevent default main bhi laga ta hoon but Mera submit ho ja raha hai please give me solution

Deepaktut
Автор

Can we prevent anyone from taking screen shots on our website, no snipping tool should work in this, is it possible?

omkeshmanjute