|
December 23, 2000 Creating New Attributes Tips: December 2000
Yehuda Shiran, Ph.D.
|
|
The DOM on Netscape 6 lets you create attributes on the fly. You would go:
for example, and out you will get a new attribute object. The value of the attribute is an empty string. Its name will be The code in this tip can be viewed only by Netscape 6. Learn more about the DOM in Columns 40, The DOM, Part I: Analysis, through Column 47, A DOM-Based Snakes Game, Part II.
People who read this tip also read these tips: Look for similar tips by subject: |