If you are looking at implementing a timer in jquery then you'll probably need to use the setTimeout function.
jQuery setTimeout() Function Examples — SitePoint[
^]
As far as getting the value, you didn't post any controller or view code so probably can't be of much help but assuming you know how to get values from your controller to your view, if you are using a strongly typed model in your view you could just add a property to your model called
public int Timer {get;set;}
then in your view you would just sue the
Timer
value from your model in the delay parameter.
If you aren't using a strongly typed model then you can add the timer value to a ViewBag key or something like that to get it from your controller to your model.