bala24 5 Junior Poster

Hi,
I have this application that logs call durations and allows user to enter details about the call.
I am having a problem with the functionality in a peculiar case.

The application validates inputs through JavaScript and prompts for errors through alert messages.
The counter has been coded through a function in JavaScript that runs every second updating the current time.

The issue is that when a popup is shown for some error message the counter simply halts.
It stays with the same value till the user closes the alert and then resumes.
This is giving a time difference from the actual call duration.

Can something be done about this or it’s a limitation of the webpage that doesn't have any work-around?

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.