
ghatana kaa bulbula

ghatana bulbula ack prakaar kaa gumbad ghatana prasaar haye jahan ghatana pahale sabse aantarik lakshya tatva parr trigger hoti haye, aur phir usee ghonsale key padanukram mein lakshya tatva key poorvajon (maataa-pitaa) koo kramik roop seey trigger karati haye jaba taka kii yeh sabse baahari gumbad tatva yaa dastaavez vastu (basharte handler aarambh kiya gayaa hoe) taka pahunch jaae. yeh ack tarika haye jisase ghatnaaon koo brouser mein sambhala jaataa haye. ghatanaaen upayogkarta dwara kii gaee kriyaaen hain jaise kii ack button click, ack kshetra badalana aadi. event handler kaa upayog code koo nishpaadit karane key liye kiya jaataa haye jaba ack vishesh prakaar kaa upayogkarta interfaces event hotaa haye, jaise kii jaba ack button click kiya jaataa haye yaa jaba ack webpage load hoe jaataa haye.
avalokan.
gumbad sanrachana parr vichaar karein jahan nimnalikhit crum mein 3 tatva nihit hainh tatva 1 (dive), tatva 2 (spain), tatva 3 (button) jinake onn-click handler kramshah handler 1 (), handler 2 () aur handler 3 () hain. 
jaba element 3 button parr click kiya jaataa haye, tou element 3 key liye ack event handler pahale trigger kiya jaataa haye, phir event bulbule oopar hoe jaate hain aur tatkaal mool tatva-element 2 key liye handler koo bulaaya jaataa haye, usake baad element 1 key liye handler aur itane parr jaba taka kii yeh sabse baahari gumbad tatva taka naheen pahunch jaataa.
ghatana sambhaalane kaa kramah handler 3 ()-> handler 2 ()-> handler 1 ()
jiss sabse bheetari tatva seey ghatana shuru hoti haye, usey lakshya tatva kahaa jaataa haye. adhikansh brouser ghatana key prasaar key default tareeke key roop mein ghatana key bulbule koo maanate hain. haalaanki, ghatana key prasaar key liye ack aur drishtikon haye jise ghatana koo pakadane key roop mein jaanaa jaataa haye, joe ghatana key bulbule key seedhe vipareet haye, jahaan ghatana koo sambhalana gumbad sanrachana key sabse baahari tatva (yaa dastaavez) seey shuru hotaa haye aur lakshya tatva taka jaataa haye, lakshya tatva koo antim crum mein nishpaadit kartaa haye.
karyanvayan.
sabhi event handler event key bulbule koo event handling kaa default tarika maanate hain. lekin ack upayogkarta javascript mein kissy bhee tatva key adventalistner () mein antim parameter key roop mein nirdisht karke prachaar key tareeke kaa chayan curr sakata haye.
yadi capturemode galat haye, tou ghatana koo ghatana bulbula kaa upayog karke sambhala jaayega.
yadi capturemode sahee haye, tou ghatana koo ghatana koo pakadane kaa upayog karke sambhala jaayega.
yadi koee upayogkarta capturemode tark kaa koee moolya nirdisht naheen kartaa haye, tou ise default roop seey ghatana bulbula maanaa jaataa haye. adhikansh brouser ghatana key bulbule aur ghatana koo pakadane donon kaa samarthan karate hain (sivaay <9 aur opera <7 key joe ghatana koo pakadane kaa samarthan naheen karate hain).
javascript yeh jaanchane key liye kii ghatana bulbula ghatana haye yaa naheen, "bulbule" naamak ack ghatana sampatti bhee pradaan kartaa haye. yeh ack booliyan moolya koo sahee yaa galat bataata haye joe iss baat parr nirbhar kartaa haye kii ghatana gumbad sanrachana mein mool tatvon taka bulbula banaa sakati haye yaa naheen.
isabalpossibleh sach haye, aggar ghatana poorvajon taka bulbula banaa sakati haye
isabalpossibleh falls, aggar ghatana bulbula naheen hoe sakati haye
ghatana bulbula kaa upayog.
aise mamalon koo sambhaalane key liye jahaan ack ghatana mein ack seey adhik handler hotey hain, ghatana bulbula avadharana koo lagu kiya jaa sakata haye. karyakram mein maujood default karyon kaa panjikaran ghatana bulbula kaa pramukh upayog haye. haal key dinon mein, kaee developers vishesh roop seey event capturing yaa bulbule kaa upayog naheen karate hain. ghatana key bulbule koo lagu karna aavashyak naheen haye; upayogkartaon key liye ack ghatana key kaaran nishpaadit honey vaali kriyaon kaa track rakhna jatil hoe sakata haye.
ghatana key bulbula honey seey rokein.
kabhi-kabhi ack tatva parr ack trigger koo rokane key liye upayogi haye joe poorvajon parr kaee triggers kaa kaaran banata haye. javascript ghatana key bulbula honey seey rokane key liye nimnalikhit tareeke pradaan kartaa haih 
1) prasaar koo roknaah yeh vidhi kissy vishesh ghatana key aage key prasaar koo usake maataa-pitaa key paas rokti haye, kewal lakshya tatva key ghatana sanchaalak koo ahwan karati haye. haalaanki sabhi doubleu3see anuroop brousers dwara samarthit, sanskaran 9 key neeche internet explorer key liye aitihaasik upnaam cansulbuble kii aavashyakta hoti haye, jaisa kih
sabhi doubleu3see anuroop brousers key liyeh
2) tatkaal prasaar koo roknaah yeh vidhi naa kewal aage key prasaar koo rokegi balki lakshya ghatana key kissy bhee anya handler koo nishpaadit karane seey bhee rokegi. gumbad mein, ack hii karyakram mein kaee swatantra handler hoe sakate hain, isaliye ack karyakram handler key nishpaadan koo rokna aam taur parr ack hii lakshya key anya handlers koo prabhaavit naheen kartaa haye. lekin stopimediatepropagation () vidhi usee lakshya key kissy bhee anya handler key nishpaadan koo rokti haye.
sabhi doubleu3see anuroop brousers key liyeh
ghatana key bulbula koo rokane kaa ack aur tarika ghatana koo radd karna haye, haalaanki yeh lakshya handler key nishpaadan koo bhee rokta haye.

