Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function searches the contents of <style> tags and returns the htmlElement object that contains the specified code string. If more than one matching element is found, only the first object is returned.
Syntax
function xweb.document.getStyleElementByCode(
code : String
) : htmlElement
Parameters
code A string that contains some or all of the text that getScriptElementByCode will search for inside <style> blocks. The search is not case-sensitive.
Returns
This function returns the htmlElement object that contains the string specified by code. If no matching string is found, undef is returned.
See Also
Concepts
htmlElement
document
document Members
xweb
Copyright © 2011 by Microsoft Corporation. All rights reserved.