JavaScript DHTML/Node Operation/clearAttributes — различия между версиями

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

Версия 13:02, 26 мая 2010

"clearAttributes()" Example

   <source lang="html4strict">
   

<html> <body> <script language="JavaScript">

   function function1() {
       document.all.myP.clearAttributes(); 
   } 

</script>

This text has the style and id attributes.

<button onclick="function1();">Clear attributes()</button> </body> </html>


     </source>