public static SetDisabled ( jQueryObject input, bool isEnabled ) : void | ||
input | jQueryObject | The input element to effect. |
isEnabled | bool | The enabled value. |
return | void |
public static void SetDisabled(jQueryObject input, bool isEnabled)
{
if (isEnabled)
{
input.Attribute(Disabled, null);
}
else
{
input.Attribute(Disabled, Disabled);
}
}
#endregion