How To Use The Same Variable For Multiple HTML Files (JavaScript)

preview_player
Показать описание
How To Access A Variable From Another HTML Script. Hey guys and gurls I'll be showing you how to use the same variable in multiple scripts (JavaScript). !!New Mic Finally!! Hopefully this tutorial is helpful and until next time.

Rhymbil Out.

Рекомендации по теме
Комментарии
Автор

thank you very usefull for someone who just started java

ghazargh
Автор

Thank you.
Just a note. Get rid of the background music. Its distracting.

rishengopaldass
Автор

How about normal JavaScript? Or it is same?

StawaCore
Автор

Is it possible to change the value of var "car" from html 2 to say Volvo for example, and then when calling alert(car) from html1 it would say Volvo? Or can the var in js not be set from html?

dowly
Автор

Misleading. I want to know how to use a variable declared in html elsewhere.

jstodd
Автор

plz don't play the music in background, don't mind but it is awful

najeebalishah