How do I make a php page to load in background?
#9

Quote:
Originally Posted by CoaPsyFactor
Посмотреть сообщение
Here is js code, you put this in your main js, or inside <script> tags on index (main) file.
Just replace "PUT_YOUR_URL_HERE" with your url

After request is finished successfully your data will be stored in "window.API_DATA"

NOTE: API Must return proper JSON format
NOTE: ES6 is supported on most current generation browsers, you can checkout compatibility table here

PHP код:
code... 
Wow thanks a lot for that function. I really appreciate it
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)