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

Warning: Cannot modify header information - headers already sent by (output sta
Warning: Cannot modify header information - headers already sent by (output started at /home/praylif

Header redirect
Hello ive got a problem ive got form with its action set to itself.
Code: <form id="f

how to remove in php string display
My code is $message="We're looking at developing our website."; $body= "My mess

Expandable Post Code
Hi,

Hope you can help. Which currently I haven't upgraded to connect to a mysql server, so i

reating a background image
I am building a site in drupal and have a php form in it, due to certain annoyances with module buil

reading xml faster than DB call?
I am trying to optimize a high traffic website, and I enabled a feature where there are three photos

help with variable
I've got a problem, i want to echo some images depending on the $id, however for me to get that id i

natcasesort works on one server but not on another
Hi

I have a problem that I was hoping that someone can help me with.

I'm trying to use

List/Menu Box
On an edit page when you want something to select what a user has previously selected from the datab

calculator
I can't figure out why this code doesn't work. No error messages. Page loads.

Code: <

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