Hi everyone,
I am working on a program that will allow a user to enter some customer information including name/acct number, call back number, and reason for call back, and time of call back. What I want this to do is then display the customer info (up to five customers at once) on a page. But I want a Javascript alert message to popup when the time of call back the user entered matches the correct time. What I can't think of is how I will have it check for the time (i.e. a while loop?) and I am wondering if anyone knows if this will use too much of the resources and slow up the computer. Thanks in advance.
Nick
stupidenator
0
Junior Poster
Recommended Answers
Jump to PostResearch JavaScript's "setTimeout" method. It calls a function you specify at specific time intervals. Presumably that function, which you'll need to write, will check through an array of "messages" to see if any are due.
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.