Home > JavaScript APIs > $x_SwitchImageSrc...
Checks an image (pId
) src attribute for a substring (pSearch
). If a substring is found, this function replaces the image entire src attribute with (pReplace
).
Return Value
(DOM node | false)
Parameters
pNd (DOM node | string ID) pSearch (String) pReplace (String)