How can I change the title of the document during .ready()?

The following should work but it wouldn’t be SEO compatible. It’s best to put the title in the title tag.

<script type="text/javascript">

    $(document).ready(function() {
        document.title="blah";
    });

</script>

Leave a Comment