Javascript Events: Getting notified of changes in an <input> control value

前端 未结 6 950
野的像风
野的像风 2020-12-11 04:09

I have the following problem:

I have an HTML textbox () whose contents are modified by a script I cannot touch (it is my page

6条回答
  •  無奈伤痛
    2020-12-11 04:33

    I had to modify the YUI datable paginator control once in the manner advised by Dan. It's brute force, but it worked in solving my problem. That is, locate the method writing to the field, copy its code and add a statement firing the change event and in your code just handle that change event. You just have to override the original function with that new version of it. Polling, while working fine seems to me a much more resource consuming solution.

提交回复
热议问题