Wednesday, September 2, 2015

Test 1 Javascript - Redirect





Silahkan klik tombol di atas..... daaan halaman webnya akan di redirect ke halaman yutubs Hisoka... :D
Source code untuk tombol tersebut seperti terlihat di bawah :

<script type="text/javascript">
function redirect()
{
  window.location="https://www.youtube.com/channel/UCXu-D19AiIJZptbg8Z549xg";
}
</script>


<form>
<input type="button" value="Hisoka's Redirect" onclick="redirect();" />
</form>

No comments:

Post a Comment