How to calculate age from an input type="text" using javascript? I have the input:
<input style="width: 100%" type="text" readonly id="data_nascimento"/>
How to do this calculation? The date format is "01/01/2015."
Do I need to convert to Object Date? How to perform this procedure from the content of the input?