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

Google Wave
So... has anyone used it yet? Is it any good?

http://wave.google.com/help/wave/about.html#vid

Basic Question Regarding PHP Includes
Hi

Just starting out with PHP.

Working on a site that uses some basic includes, these

Inserting a variable in a link
I have this code that I want to insert for my own variable but I have no idea how. This is what I wa

Rounding a number queried from a database
I know that to display a rounded number you just do echo "round($number)";. But how would

Contact Form Not Working When I Add Validation Codes
So I built my first working PHP "Contact Us" like form. But, I have been trying to now mak

PHP submit form script causing blank page
Im trying to submit a form using this script, however nothing shows up on the page, does anyone know

TabControl Inside ListView Not Editing
Hello everybodyI have a ListView on my page. Inside the ListView I put a TabControl, cuz I want to p

Where is my php.ini???
Hi

First off - apologies - i'm not a coder so this may sound very amateur.

I'm having

My XSRF Prevention code isn't working
First of all, thanks for the generous help you guys have given me in the past on this forum.
Seco

Giving the below syntax error
Dear Experts,

I have used 2 buttons in gui status as display and cjhange.When the user wi

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