In this section we will add ajax functionality to the form we created in the last page. We will try to avoid touching the orginal code as much as possible - using behaviour elements(script) inside the body part is not a good practice.
First we will create a new submit behaviour for the form. By default, the form will submit the data to a different page. We need to change this behaviour so that when the form is submited, a javascript function will be called.
Read also the Traditional Feedback Form
Read Full Article
|
Rate this Ajax Tutorials
Error connecting to mysql
|
|