The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Should i use html setup on page that will be loaded with AJAX

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #158687

    I’m working on a website that will load external pages onto a div with AJAX. These external pages are for example contact.html and in that page what i have is something like this

         <input type="text"/>

    I don’t have this

    <input type="text">

    is it ok to do this since the index page has all that, does the AJAX-loaded page need it too along with meta tags and page title?


    the external pages that will be loaded onto the div are PHP. So it doesn’t mater?


    Are you saying that you have a main index file and that you’re using AJAX to .load() other files into it? From there you’re asking if it is okay to do that since the titles and meta tags will be the same on every file that is being loaded into the main index page?

    You could possibly write an if statement that tells the meta tags and title to update once those files are loaded in.


    Would that be worth the effort?

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Other’ is closed to new topics and replies.