I want to send a confirmation mail on event of submit button in webform?
The webform module comes with an option to send e-mails after submission. Check the webform e-mail tab when you are editing a webform