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

Simple MySQL script is not working
Hey guys,

Just familiarizing myself with PHP and MySQL. I am following along in the O'Reilly

Users and Groups with PHP Classes
Hi,

I have setup what I hope to be a good working User class. Now I want to introduce group m

writing a screen scraper
Hello,

I'm writing a screen scraper application and want to be able to get absolute addresses

paginate search result
Hi, I have a paginations script to display data from my database but i would like to paginate someon

mail()
Hi all. I have a problem with emails. I am trying to set up a mail system where customers can subscr

parse error
On my local machine I keep getting parse error for my footer. When I put it online, it doesn't show

How to restrict the display of report variants
Hello All,

I want t know how to restrict the display of report variants.
I mean, whe

sql error
I have been looking at this code for 20mins and can't work out what I am doing wrong. There is somet

upload photo limits
ive got a upload photo script and im just trying to make more secure currently it limits size and as

pls clear my confusion
Hi friends,

Pls solve my query .

what is the exact use of Scope Resolution Operator( i

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