ZVON > References > DOM2 Reference

setProperty (method )

Owning interface and usage:  
CSSStyleDeclaration.setProperty(propertyName, value, priority)

Member of these other interfaces:  
none

Description:  
Used to set a property value and priority within this declaration block. Note: setProperty() permits to modify a property or add a new one in the declaration block. Any call to this method may modify the order of properties in the item() method.

Parameters:  
DOMString propertyName  -  The name of the CSS property. See the CSS property index.
DOMString value  -  The new value of the property.
DOMString priority  -  The new priority of the property (e.g. "important") or the empty string if none.

Returns:  
nothing

Exceptions:  
DOMException SYNTAX_ERR
Raised if the specified value has a syntax error and is unparsable.
DOMException NO_MODIFICATION_ALLOWED_ERR
Raised if this declaration is readonly or the property is readonly.



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet




Related sites:
  • dotNet Slackers - Your latest resource for ASP.NET
  • Dotnet Spider - Outsourcing and Offshore software development in India
  • XML - Xselerator, XSL Editor, BizTalk Utilities, XML Tutorials, Learn XML
  • Planet Source Code - The largest public source code database on the Internet
UNLIMITED Web Hosting by HostDepartment Alojamiento Web UK Domain Names glossary for conference call answering service
MSN VoIP Internettelefonie Hosted Exchange, SDSL VoIP Internettelefonie AT VoIP Internettelefonie DE