Javascript redirect

21 Nov, 2008   Adăugat de in javascript, programare, tech | 
Taguri : , , , ,

Un redirect cu javascript se poate realiza foarte usor folosind metoda window.location, astfel :

1
2
3
4
5
<script type="text/javascript">
<!--
window.location = "http://blog.noru.ro/"
//-->
</script>

No Responses so far | Have Your Say!

Leave a Feedback

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

 

63 queries. 0.318 seconds.