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, asp.net. Now I will explain how to change/set page title using jQuery.
<script type="text/javascript">
$(function()
{
$(document).attr("title",
"Change Page Title with jQuery");
});
</script>
|
<script type="text/javascript">
$(function()
{
$('title').text("New Title");
});
</script>
|
|
If you enjoyed this post, please support the blog below. It's FREE! Get the latest Asp.net, C#.net, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email. |
|||
Subscribe by RSS
Subscribe by Email
|
|||
|
|
Subscribe by RSS
Subscribe by Email
1 comments :
Man, I love your blog!
Keep up the good work!!
Love and Regards,
Jack