R
Robert Mark Bram
Hi All,
I am writing a Javascript UI component. I have already written a
"disable()" method for it, but I would like to go one step further in
order to make my component as compatible with existing HTML controls as
possible.
With standard HTML controls we can do this:
myTextField.disabled = true;
and as soon as this property is set, I assume there is a property
listener of some kind that is invoked to change the appearance and
value etc of the control.
I want to write my own 'property listener' to do this with my control.
Can I do it in Javascript or is this too "low level", requiring code at
the browser implementation level?
Rob
I am writing a Javascript UI component. I have already written a
"disable()" method for it, but I would like to go one step further in
order to make my component as compatible with existing HTML controls as
possible.
With standard HTML controls we can do this:
myTextField.disabled = true;
and as soon as this property is set, I assume there is a property
listener of some kind that is invoked to change the appearance and
value etc of the control.
I want to write my own 'property listener' to do this with my control.
Can I do it in Javascript or is this too "low level", requiring code at
the browser implementation level?
Rob