mardi 12 avril 2016

set the title of an html page using javascript

A title of an page is set by external javascript. I cannot find the exact function which does it. So i wrote a function and placed it in the html file. But still it is showing title of the previous javascript function.

<script type="text/javascript">

$(document).ready(function() {
    document.title = 'Pry';
});

 </script>




Aucun commentaire:

Enregistrer un commentaire