[jQuery] Form fields dependencies with jquery
In my form I have two input fields:
<input name="pesel" id="pesel" value="" class="tekst" type="text">
<input name="age" id="age" value="" class="tekst" type="text">
First of them is to input 11-digits personal identification number
(pesel), for example:
79041702339
Interested form me are first 6 digits, it's the day birth (in this
example 17th april 1979).
The idea of the script is to exclude the age of the person from
"pesel" field and put into "age" input using onblur event.
The question is how to do that?