kamal213 Posted October 8, 2012 Share Posted October 8, 2012 Hi guys, I was wondering is it possible to post to the database with javascript if a button on the page is clicked without reloading the page? I can't seem to find any example online. many thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/269215-post-to-the-database-without-reloading-the-page/ Share on other sites More sharing options...
Christian F. Posted October 8, 2012 Share Posted October 8, 2012 Yes, this is called AJAX. Quote Link to comment https://forums.phpfreaks.com/topic/269215-post-to-the-database-without-reloading-the-page/#findComment-1383805 Share on other sites More sharing options...
codefossa Posted October 8, 2012 Share Posted October 8, 2012 http://api.jquery.com/jQuery.post/ JQuery and regular Ajax method shown there. Quote Link to comment https://forums.phpfreaks.com/topic/269215-post-to-the-database-without-reloading-the-page/#findComment-1383849 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.