Website Scripts And Cloud Tutorials

Change web page title jquery

Byadmin

Nov 18, 2011 ,

Last updated on May 4th, 2016 at 12:16 am

Click to rate this tutorial!
[Total: 0 Average: 0]

Change web page title jquery

This is a simple script that will change the web page title using jquery.
Customize it according to your requirement.Jquery knowledge is essential to understand the code below. Any doubts do get back to me 🙂 Happy Coding!!!!

<title>Title changing script:Mistonline.in, Webpage before clicking below</title>
<script type="text/javascript" src="http://demo.mistonline.in/jquery-1.2.3.min.js"></script>
<script type="text/javascript">
      $(document).ready(function() {
	  $("p").click(function(){
        document.title = 'New Title:- The Jquery Effect';
	})
   });
</script>
<p><u>If you click on me, The title of this webpage will change.</u></p>

DEMO

Click to rate this tutorial!
[Total: 0 Average: 0]

Leave a Reply

Your email address will not be published.