dom
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dom [2011/10/04 15:14] – created ginko | dom [2014/11/25 17:09] (current) – [URL] ginko | ||
---|---|---|---|
Line 6: | Line 6: | ||
==== Insérer un délai ==== | ==== Insérer un délai ==== | ||
Utiliser la fonction standard setTimeout. | Utiliser la fonction standard setTimeout. | ||
+ | ===== URL ===== | ||
+ | __/!\ Attention /!\__ : Ne pas oublier l' | ||
+ | <code javascript> | ||
+ | " | ||
+ | document.location.protocol | ||
+ | " | ||
+ | document.location.username | ||
+ | " | ||
+ | document.location.password | ||
+ | " | ||
+ | document.location.hostname | ||
+ | " | ||
+ | document.location.port | ||
+ | " | ||
+ | document.location.pathname | ||
+ | "/ | ||
+ | document.location.search | ||
+ | "? | ||
+ | document.location.hash | ||
+ | "# |
dom.txt · Last modified: 2014/11/25 17:09 by ginko