Answers.Body: <p>you can use hook_civicrm_postProcess or hook_civicrm_post</p>
  
  <p>which ever you need based on your requirement below is the link for more reference <a href="http://wiki.civicrm.org/confluence/display/CRMDOC/Hook+Reference" rel="nofollow">http://wiki.civicrm.org/confluence/display/CRMDOC/Hook+Reference</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-21T10:32:08.143Z
Answers.LastActivityDate: 2015-08-21T10:32:08.143Z
Answers.UserDisplayName: Ramesh - ARTECH Consultancy
Body: <p>I want to alter and manipulate the behavior and action of continue button on new contribution page through extension, I want to do some additional tasks with that button through my extension like sending email etc.</p>
  
  <p>What is the best way to accomplish this task?</p>
  
Tags: <api><extension><hooks><contribution-page><gsoc>
Title: How to alter and manipulate the behavior and action of button through extension?
ThreadText: # How to alter and manipulate the behavior and action of button through extension?
  
  (Asked by: username_0 on 2015-08-21)
  
  I want to alter and manipulate the behavior and action of continue button on new contribution page through extension, I want to do some additional tasks with that button through my extension like sending email etc.
  
  What is the best way to accomplish this task?
  
  **Tags:** api, extension, hooks, contribution-page, gsoc
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-08-21. Score: 3 | Accepted answer
  
  you can use hook\_civicrm\_postProcess or hook\_civicrm\_post
  
  which ever you need based on your requirement below is the link for more reference <http://wiki.civicrm.org/confluence/display/CRMDOC/Hook+Reference>
  
  
  ---
  
  