Jump to content

why this code is not working?


VineetDubey

Recommended Posts

<html>

<head>

<script>

function do()

{

window.location.href="http://www.google.co.in/";

}

</script>

</head>

<body>

<h3>i am test page</h3>

<input type='submit' onClick='do()' />

</body>

</html>

 

This code is not working please anyone can help me to sort this out

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.