Forums

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

Home Forums JavaScript Update title of dynamically-loaded page? Reply To: Update title of dynamically-loaded page?

#237525
heyes
Participant

Thanks.

Unfortunately, it doesn’t appear to update the title.

Having searched a lot on this issue… it seems that a downside of using Ajax to load new content the title remains that of the first page, not the subsequent page.

Apparently, jQuery Mobile has a fix (https://demos.jquerymobile.com/1.2.0/docs/pages/page-titles.html) and automatically parses the title of the page pulled via Ajax and changes the title attribute of the parent document to match… but I don’t know how to use it