Philip Tellis wrote:
easier to do document.getElementsByName('DDDATE')[0].value='01/01/1983';
and you don't need firebug to do this, you can do it in your URL bar by typing this:
javascript:alert(document.getElementsByName('DDDATE')[0].value='01/01/1983')
Thanks but it does not work. Try it on https://passport.gov.in/pms/OnlineRegistration.jsp
What happens is that as soon as you move to another field, the date gets cut by 1 character in the right. Is there any problem in the web page's client script, that can be brought to the notice of the webmaster? Javascript and Firefox are like brothers.