YAHOO.widget.Button
(
p_oElement
,
p_oAttributes
)
- Parameters:
-
p_oElement <String>
String specifying the id attribute of the<input>
,<button>
,<a>
, or<span>
element to be used to create the button. -
p_oElement <HTMLInputElement| HTMLButtonElement|HTMLElement>
Object reference for the<input>
,<button>
,<a>
, or<span>
element to be used to create the button. -
p_oElement <Object>
Object literal specifying a set of configuration attributes used to create the button. -
p_oAttributes <Object>
Optional. Object literal specifying a set of configuration attributes used to create the button.