Intercepting onchange()

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Christoph Boget

    Intercepting onchange()

    I'm using a widget/control (a date picker), which I don't really have any
    control over, that is programmaticall y updating a text field. I'm curious
    if there is any way I can determine when the value of the text field is
    changed? I've tried setting the onchange for the field in the markup but
    because the value is being set programmaticall y, that event never triggers.

    Apart from setting up an interval, is there any other way to determine when
    a value of a field changes if it's not the user setting the value?

    thnx,
    Christoph

  • Thomas 'PointedEars' Lahn

    #2
    Re: Intercepting onchange()

    Christoph Boget wrote:
    I'm using a widget/control (a date picker), which I don't really have any
    control over,
    Why do you think so?
    that is programmaticall y updating a text field. [...]
    Apart from setting up an interval, is there any other way to determine when
    a value of a field changes if it's not the user setting the value?
    I don't think so. I would use a self-setting timeout, though.


    PointedEars
    --
    Use any version of Microsoft Frontpage to create your site.
    (This won't prevent people from viewing your source, but no one
    will want to steal it.)
    -- from <http://www.vortex-webdesign.com/help/hidesource.htm>

    Comment

    Working...