Results 1 to 3 of 3

Thread: can we retrieve data without Ajax & With No Page Loading?

  1. #1
    Registered
    Join Date
    Dec 2018
    Posts
    19

    can we retrieve data without Ajax & With No Page Loading?

    Hello friends,
    can we retrieve data without Ajax & With No Page Loading?

  2. #2
    Registered
    Join Date
    May 2020
    Posts
    64
    If your goal is to refresh the page data without refreshing the page, you can put your code in an interval timer and let it auto refresh every x seconds, like below.

    setInterval(getAnswer(), 1000);
    note: setInterval fires again and again until you clear it, while setTimeout only fires once.

    Unfortunately, you have to use Ajax to retrieve data.

    Regards.

  3. #3
    Registered
    Join Date
    May 2020
    Posts
    64
    If your goal is to refresh the page data without refreshing the page, you can put your code in an interval timer and let it auto-refresh every x seconds, like below.

    setInterval(getAnswer(), 1000);
    note: setInterval fires again and again until you clear it, while setTimeout only fires once.

Similar Threads

  1. How to Reduce a Page’s Loading Time?
    By MVMinfotech18 in forum Search Engine Optimization
    Replies: 0
    Last Post: 04-02-2019, 09:05 PM
  2. How to increase the loading speed of a responsive web page?
    By cathlilly in forum HTML, CSS, Layout, and Design
    Replies: 8
    Last Post: 12-25-2018, 11:27 PM
  3. Page loading speed
    By nextmiledigital in forum Search Engine Optimization
    Replies: 2
    Last Post: 08-10-2018, 12:15 AM
  4. page loading slow
    By navyfalcon in forum HTML, CSS, Layout, and Design
    Replies: 0
    Last Post: 03-19-2015, 11:04 PM
  5. Page not loading correctly after Amazon
    By shim in forum Advertising & Affiliate Programs
    Replies: 3
    Last Post: 06-21-2004, 07:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •