Anglais [p?θ'ne?m] US [p?θ'ne?m]
n.Nom du chemin
attribut de chemin d'accès javascript syntaxe
Fonction?: Définissez ou renvoyez la partie chemin de l'URL actuelle.
Syntaxe?: location.pathname=path
attribut de chemin d'accès javascript exemple
<html> <head> <meta charset="UTF-8"> </head> <body> <script type="text/javascript"> document.write(location.pathname); </script> </body> </html>
Exécuter l'instance ?
Cliquez sur le bouton ??Exécuter l'instance?? pour afficher l'instance en ligne