While filling online forms we came along a situation where our current address is copied to permanent address automatically by selecting a radio button or check box. Lets see how its works.
All we have to do is to copy the text and paste it to the destination textbox using JavaScript.
Design a HTML page like :
Click Here to Download all Codes
Code for HTML page :
Click Here to Download all Codes
Code for JavaScript :
Click Here to Download all Codes
Final snapshot with output :
All we have to do is to copy the text and paste it to the destination textbox using JavaScript.
Design a HTML page like :
Click Here to Download all Codes
Code for HTML page :
Click Here to Download all Codes
Code for JavaScript :
Click Here to Download all Codes
Final snapshot with output :