I thought about it. I know you can use json_encode (); to send a encoded array or multidimensional array via jQuery ajax call that will interpret the json array for you.
However, I don’t know of other sending methods than just strings using echo, print, or return from PHP in a jQuery script?
Can someone please enlighten me on this?
Thank,
Stephen
At the end of the day, you will send the string back to the AJAX request. How you interpret this line in JavaScript is the part that will affect what you do.
, XML, JSON, , HTML. CSV JS. Markdown, , Showdown.
, . , JS, AJAX .
, , , http, .
. mp3. , , .
, :).
Source: https://habr.com/ru/post/1750503/More articles:operator << overload C ++ - c ++https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1750499/figuring-out-hosts-top-domain-with-javascript&usg=ALkJrhjA1bDpg2025AzbHqhhrPDZII4xiQAnother IE issue with AJAX - javascriptAutomating portlet deployment on WebSphere Portal Server 6.1 - javaконструкторы С++ - c++formatting source code using jQuery - jquerya vector containing read-only matrices? - c ++Latex Font Color - fontsNOT_FOUND servlet (GWT + AppEngine) - javaXDebug not working with xampp - phpAll Articles