Welcome Guest, Not a member yet? Register   Sign In
Newbi ajax question
#2

You can return the view (html) to your ajax request and just add that chunk of html to your document.
What I prefer is to only return json data and the front end (javascript) add the data to the html document.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply


Messages In This Thread
Newbi ajax question - by fzamaan - 03-22-2021, 06:04 AM
RE: Newbi ajax question - by includebeer - 03-23-2021, 02:22 PM
RE: Newbi ajax question - by fzamaan - 03-24-2021, 12:06 AM
RE: Newbi ajax question - by manager - 03-24-2021, 10:42 AM
RE: Newbi ajax question - by fzamaan - 03-24-2021, 09:46 PM
RE: Newbi ajax question - by includebeer - 03-28-2021, 01:29 PM
RE: Newbi ajax question - by fzamaan - 03-31-2021, 06:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB