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

images aren't rendering
I'm trying to call a JPG file from within PHP (in an effort to hide the actual JPG folder). The imag

Help with ORDER BY
Hello. I would like to order by ascending States, then Cities, then Gyms in the following code, but

setcookie and isset($_COOKIE(name)) seem very finnicky.
I'm currently playing around with a user system with login and registration. I'm trying to use cooki

mr8m - reverse document
Friends,

I'm trying to reverse a document held by MIRO, but it reports the message balan

Class not found error
I am getting Class 'index' not found in Eval function:

//write config

$pat

remove trailing slash from array
I have the following array which contains trailing slashes I need to remove. What is the best way to

IIS7 and getimagesize() problem
I have just discovered after hrs of trying to fix a problem where it's coming from. It's to do with

Security Exception on pages using AJAX
I am getting the exception: attempted to perform an operation not allowed by the security policy on

Allowing ' and "
Hello everyone,

I am creating a form where users submit information to go into a database. I

Multiple submit forms inside a mysql array page
Hi all,

Im having trouble to get the beneath script to work the thing i can't seem to get wor

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