In a script I use AJAX to request data from a script. The returned data is returned in JSON format. The script returns seconds and I'm searching for an easy way to generate a countdown showing minutes and seconds generated by the returned value.
For example if the script returns 90 I would need a countdown ticking each second showing: 1:30
Using the jQuery docs I only found this script, but it will require minutes and seconds to start the countdown from. Script called via AJAX only returns seconds.