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

Uploading Filetypes and placing them in seperate folders.
Hello,

first post , and asking for help im afraid. Very new to PHP, was making good progress

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

Cron Job and Output
I have php codes running under a cron job.
But everytime i output (echo) , it comes out as comple

asp authentication problem
Hello all, I want to use the asp authentication (from asp.net configuration) in my web site. there

passing data from one page to another
hey guys
i have the follwoing code to get information from one page and place on another:

help understanding hidden input w/ php
hello i'm doing a tutorial where there are multiple forms for an edit page for a user to update thei

Extracting Long text from message class with parameters
Hi,

I would like to extract the long text from a message class. However, the long text ha

session checking in page load
hai all I have a web site is www.Mryas.com in this my login page is Page1.aspx its co

Why is this query failing?
Why is this not working?
$query = "SELECT * FROM `users` WHERE `userid` = " . $USERID

Formatting echo from database
So I have a database that stores First and last names, then echos them back to a website, as of now

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