aspdotnet-suresh offers articles and tutorials,csharp dot net, articles and tutorials,VB.NET Articles,Gridview articles,code examples of 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

Change Page Title with jQuery Dynamically

Feb 24, 2013
Here I will explain how to
change/set page title using jQuery or change the title of page dynamically with jQuery.

In previous posts I explained Simple jQuery Dropdown Menu, jQuery Image slideshow with transparent overlay captions,
jQuery Get number of facebook likes, shares count for url, and many articles relating to jQuery, JavaScript, Now I will explain how to change/set page title using jQuery.

To change page title dynamically in jQuery we can write the code in different ways like as shown below

Method 1:

<script type="text/javascript">
$(function() {
$(document).attr("title", "Change Page Title with jQuery");
Method 2:

<script type="text/javascript">
$(function() {
$('title').text("New Title");

If you enjoyed this post, please support the blog below. It's FREE!

Get the latest,, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email.

subscribe by rss Subscribe by RSS subscribe by email Subscribe by Email


Anonymous said...

Man, I love your blog!

Keep up the good work!!

Love and Regards,

Anonymous said...

thank you very much!

Give your Valuable Comments

Other Related Posts

© 2015 All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.