JavaScript DHTML/Javascript Objects/namespace

Материал из Web эксперт
Перейти к: навигация, поиск

"namespace" Example

   <source lang="html4strict">
   

<html xmlns:namespace1 xmlns:namespace2> <button onclick="alert(document.namespaces(0).name);"> Name of first namespace on the page </button> </body> </html>


     </source>