Click or drag to resize
HTMLHelperGetAttributeValue Method
Gets the value of the HTML element's attribute.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static string GetAttributeValue(
	string input,
	string attributeName
)

Parameters

input
Type: SystemString
Element's outer HTML
attributeName
Type: SystemString
Name of the attribute

Return Value

Type: String
Value of the element's attribute
See Also