I am having a doubt regarding to this issue where let's say my page load is
<title>Test Only</title>
and I change the value by using javascript to
<title>Test Use JS Change</title>
// this is my Javascript code to update the <title> value after page load
$(function(){
$('title').html('Test Use JS Change');
});
May I know for Search Engine Bot, will they recognize my title as Test Use JS Change or Test Only
It is because when I see the browser tab/ inspect element to view dynamic source, the title has been updated but when I purely view source only, it shows the default title that I defined.
Would need some advise regarding to this. Thanks!