Pages

Friday, 7 June 2013

How To Change Page Title with jQuery Dynamically in C# Asp.Net

How To Change Page Title with jQuery Dynamically in C#  Asp.Net

Program:

Method 1 :

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

Method 2 :


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

No comments:

Post a Comment