How to use Ajax to get the data in the back-end interface in the front-end, and then I will handle it myself.

directory structure:

clipboard.png

main.js:


comment.js


clipboard.png

failed to get the data routed from the backend. I just want to extract the content data from the data in the backend and process it myself, otherwise the data will have no spaces and line breaks

Mar.04,2021

you can put the content content you get directly into html (). The; html () method can contain html tags. Syntax: $(selector) .html (content)

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36d13-2c039.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36d13-2c039.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?