HTMLHelperReplaceTagParameter Method (String, String, String) |
Replaces an attribute of a specified name inside an HTML element.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax public static string ReplaceTagParameter(
string input,
string attributeName,
string replacement
)
Parameters
- input
- Type: SystemString
Element's outer HTML - attributeName
- Type: SystemString
Name of the attribute to replace - replacement
- Type: SystemString
Replacement string
Return Value
Type:
StringInput text with the attribute replaced
See Also