Rate this script:  I Love it  /   I Hate it

change title with javascript


Code


..
<title>original title</title>
..
<script type="text/javascript">
function changeTitle(title) { document.title = title; }
</script>
..
<input type='button' onclick='changeTitle("new title")' value='Change Title'/>
..
 

 

 
change title with javascript scripts | change title with javascript snippet | change title with javascript example | change title with javascript tutorial | change title with javascript code