getItemWidth

returns the width of an item set either by init or by the setItemWidth() method

number getItemWidth(string name);

Parameters

namestringthe name of an item

Returns

numberthe item's width

Example

var width = myForm.getItemWidth(name);

Details

the method works for the Block, Fieldset and Uploader controls

Back to top