Monitus UI Library

util  4

Monitus UI Library > util > jMUI.util.dom
Search:
 
Filters

static Class jMUI.util.dom

These utilities provide generic utilities for manipulating the DOM.

Methods

rename_element

static void rename_element ( pElement , pSuffix , pDeep )
Rename an element, by adding a suffix, and its dependants, if applicable. For instance, some form field might have labels associated with it; this function will also adjust the "for" attribute of the label.
Parameters:
pElement <jquery object> the element to rename.
pSuffix <string> the suffix to add to the object's name.
pDeep <boolean> also rename all the object's children?
Returns: void


Copyright © 2017 Yahoo! Inc. All rights reserved.