Create an event to recognise when text on a page changes?

Posted by DaveDev on Stack Overflow See other posts from Stack Overflow or by DaveDev
Published on 2010-12-31T15:51:50Z Indexed on 2010/12/31 15:54 UTC
Read the original article Hit count: 189

Filed under:

There's a page that I'm trying to trigger a jQuery event for when a certain span's value changes to 1.

There's a countdown timer on the page. When the timer reaches 1, I'd like to trigger a click event.

The difficulty I'm having is getting a script that i'm running via Jash to know when the timer changes to 1.

The value of the timer can read with: $('#tCounter_474754 .bid_time_highlight').text();

But how can I get jQuery to trigger the click when this timer reaches 1?

© Stack Overflow or respective owner

Related posts about jQuery