Can anyone please tell me how to insert data into database without page refresh and without using any button. Facebook wall posts area is an example. User writes whatever he wants in input field and he has to press ENTER to submit the data into database instead of using a submit button.
Share
If you’re using jquery, you can do something along the lines of: