onClick='location.href=index.htm'> not working


Posted on 16th Feb 2014 07:03 pm by admin

Below is my code:

echo "<input type='button' value='redirect' onClick='location.href=index.htm'>";

Did you know?Explore Trending and Topic pages for more stories like this.
what is wrong with the code?? it's not working
No comments posted yet

Your Answer:

Login to answer
232 Like 9 Dislike
Previous forums Next forums
Other forums

need help in update query
i create a form for update. there are 8 columns in my mysql table. on my main page all the data is r

Having Problem with Date
l have a submit buttom where user have the possibility to add a date to specify when his message s

Most basic form question ever?
Hello,

I want to use this snippet to make sure the fields in a form are ok before processing

Performance impact of cookies
Hi, I was just wondering what impact there would be in terms of performance if you where to set then

New to Arrays
Hi I am new to PHP (a week and a half now) and I am just beginning to read about arrays. I understan

help, header() is not working!
Hello, I have this code:


<?php

/**
* @author samoi
* @copyright 200

Help with translating C code into assembler code
Hi im doing a project that moves a robot around a maze avoiding walls and need some help with conver

First root of a number
Hi,

I can't find any function in php to give me the first root of a number.
Is there any

Oracle Connectivity
Hi Every One,

Can we access SAP from oracle database.If it possible then please spec

The type or namespace name 'ServiceModel' does not exist in the namespace 'System'
When I locally run the website, it works just fine, but when I uploaded it to the hosting environmen

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash