
Jake Z. answered 05/06/19
Experienced TA/Tutor for Computer Science & Programming Skills
Yes, this is absolutely something you can do using JavaScript without reloading the page.
The code would look something like:
What this will do is find all the HTML title tags (of which there should only be 1), grab the 1st one and then change its content. To make this trigger, you'd want to throw this in a function and call that function using the onclick parameter of the tabs.
Hope this helped!