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'>";

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

cstdatomic (c++0x std::atomic) / g++ 4.4
Hello,

I'm trying to use cstdatomic (std::atomic in the upcoming c++0x standard) in g++

string to currency format
Hi guys...

Actually I chunk out some data from txtfile and one of the data contains amount va

how to get values from $_Post with onchange="form.submit();"?
Hi, I have a form that submit to itself with a file upload field and two other hidden field values.<

pspell
using pspell, is it possible to get words that would be best in the current phrase?

For examp

php + mysql count consecutive data
I have a database of values and I want to work out how to display them if the values match a consecu

Displaying returned XML in another PHP page
I have an online payment form that will return XML given if a payment is successful or declines. I

Empty text file when there is over XXXX lines of text.

define("RANDOM_FILE","/public_html/random.txt");
$randomEntry = "

Help to integrate whois Domain Details to website
Hi,

can i know is their any php script r methods to add domain details to my website.

Multiple Options for a Single Page
For this example I want to use the Handlers option which is under Fed Admin and all the related codi

mySQL and PHP search
Hello,
I am trying to code a project and ran into a brick wall with one of my pages. I am pretty

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