Qhov xwm txheej twg ntawm qhov rais qhib qhov rais tshiab browser?
Qhov xwm txheej twg ntawm qhov rais qhib qhov rais tshiab browser?

Video: Qhov xwm txheej twg ntawm qhov rais qhib qhov rais tshiab browser?

Video: Qhov xwm txheej twg ntawm qhov rais qhib qhov rais tshiab browser?
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Hlis ntuj nqeg
Anonim

Cov qhib () txoj kev qhib qhov rais browser tshiab ,lub a tshiab tab, nyob ntawm koj browser kev teeb tsa thiab tus nqi parameter.

Ces, qhov rais qhib rov qab li cas?

qhib () rov qab los , cov qhov rai ib txwm muaj txog: blank. Qhov tseeb fetching ntawm URL yog ncua thiab pib tom qab cov ntawv thaiv tam sim no ua tiav. Cov qhov rai creation thiab loading ntawm cov ntaub ntawv hais txog yog ua asynchronously.

Tom qab, lo lus nug yog, dab tsi yog cov txheej txheem ntawm qhov rais khoom? Qhov rai Object Methods

Txoj kev Kev piav qhia
txav mus rau() Txav lub qhov rais mus rau qhov chaw tshwj xeeb
qhib() Qhib lub qhov rais browser tshiab
luam tawm() Sau cov ntsiab lus ntawm lub qhov rais tam sim no
ceeb toom () Qhia ib lub dialog box uas qhia tus qhua rau cov tswv yim

Ib tug kuj yuav nug, ua li cas koj ua lub qhov rais pop-up nyob rau saum?

Tsuas yog khiav cov khoom siv hluav taws xob, nyem qhov qhov rai koj xav tau khaws cia rau saum , ces nias Ctrl-Space. Presto! Rov ua dua li qhov tsim nyog nrog lwm lub qhov rais uas koj xav tau khaws cia rau saum . Txhawm rau tua lub luag haujlwm, nyem qhov qhov rai dua thiab nias Ctrl-Space dua.

Qhov rai qhov rai yog dab tsi?

Cov qhov rais khoom sawv cev a qhov rai hauv browser. Ib khoom ntawm qhov rai yog tsim los ntawm qhov browser. Qhov rai yog cov khoom ntawm browser, nws tsis yog khoom ntawm javascript. Lub javascript khoom yog hlua, array, hnub thiab lwm yam.

Pom zoo: