Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

bigweshall
Community profile bigweshall Level 1
Job title here
Location here
2 BADGES
Level 1

Level 1

Learn more
Joined the community 30-05-2017 6:54:05 AM
Offline
Top badges earned by bigweshall
Customize the badges you want to showcase on your profile
Is Polling the Best Way to Go?
Avatar
Ignite 1
Level 1
bigweshall
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
Top badges earned
Ignite 1
Validate 1
View profile
bigweshall
- Adobe Target
I am working with a site that fires JavaScript functions at various points in a session. Right now I am polling certain pages using setinterval at 1 second looking for the results of the a function having fired (a div's css display == 'block', a span's text == 'thank you', etc.). Is there a better way to listen for a function to execute and then firing my own code in response?

Views

794

Likes

0

Replies

2