How to set the page titl asp.net using jquery

Posted by Jitendrasoft09 under ASP.NET on 6/26/2013 | Points: 10 | Views : 723 | Status : [Member] [MVP] | Replies : 2
Hi All,
I want to understand How to set the page titl asp.net using jquery, let me know if anybody knows.

Jitendra Kumar
If my post helps you, plz mark as an answer.



Responses

Posted by: Satyapriyanayak on: 6/27/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
http://www.aspdotnet-suresh.com/2013/02/change-page-title-with-jquery.html
http://www.c-sharpcorner.com/UploadFile/c63ec5/change-page-title-dynamically-and-clear-textbox-value-with-j/

If this post helps you mark it as answer
Thanks

Jitendrasoft09, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Allemahesh on: 6/27/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
Method One:-

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

Method Two:-

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

Jitendrasoft09, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response