change page title using jquery

In this tutorial you will learn how to change the page title using jquery. I will not recommend you to do so because it is not good for seo aspect of website. But one of my friend ask me to write tutorial so i am writing this. It's not a big rocket science. It is actually a one line code. Let's have a look over how to do so.

change page title using jquery

<script type="text/javascript">
      $(document).ready(function() {
        document.title = 'new page title using jquery';
      });
    </script> 

I hope you will find this article very helpful.

Happy Coding!!!

0 comments: