MANnDAaR
MANnDAaR

Reputation: 2590

Math with jQuery /Javascript

I have dynamic input boxes with values of dates like this

<input size="30" id="date_one" value="21/03/2011" type="text">  

<input size="30" id="date_two" value="14/08/2010" type="text">  

I want to calculate difference between these two dates. i.e. How many days remaining ?

Is it possible with jQuery to do this kind of math ? & How ?

Thanks

DEMO : JQuery

DEMO : Mootools

Upvotes: 0

Views: 468

Answers (1)

Related Questions