WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 override text.value = "blah", Veder Smukey, December 9, 2003
     Re:override text.value = "blah", Brian R. James, December 10, 2003
         Re:override text.value = "blah", Veder Smukey, December 11, 2003
             Re:override text.value = , Erik Arvidsson, December 11, 2003

Subject: Re:override text.value = "blah" From: Brian R. James Date: December 10, 2003

Use the onpropertychange event to detect when value property on abc changes.

From: Veder Smukey
Sent: December 9, 2003
Subject: Re:override text.value = "blah"

<input type="text" id="abc"/>

// Later in a script I access it with:
var text = document.getElementById("abc");

I need to trigger some code when the text's value is
changed via text.value = "blah";  Is there a way to
override the "setter" method associated with text.value?
When text.value is set, onchange does not get triggered.

- Veder


Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.

View All Messages
Back to WebFX