I have a website with various frames that get shown/hidden depending on what item is chosen on the left menu as can be seen here:
When I click on an item on the left-hand side menu, I want to change the browser tab page title to match that of the item chosen.
How can I change the page title dynamically in run-time via Delphi code?
You can use the document
class from the Web
unit and change the title
public variable on the document
class:
document.title := 'Your new page title';