"Fetch as Google" is showing an empty page for inline JS while page renders fine on browser

514 views Asked by At

I have a very simple static HTML page with just one div. I have some static data defined in <head> and want jquery to iterate over this structure and append this inside the div startHere.

<body>
    <div id='startHere'></div>
    <script>
      $("#startHere").append(<function to generate html from the data>)
    </script>
  </body>

This works well in browsers and I see the content that I want to see. However when I try to use "Fetch as Google", I see an empty page with just the header.

The status of the request is shows as completed in the google tool.

Any idea why this page shows empty?

0

There are 0 answers