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

PHP Script runs on CLI but not through web browser
I am running into an issue that I just can't seem to find the answer to. I have a Windows Server 200

MVC - Code review
I'm in the process of trying to wrap my head around MVC, and as part of that, I'm attempting to impl

links using header()
Hi All

I'm not sure where to ask for help on this but I hope someone can offer some. I'm at

switch form actions? not working
i want on submit to go to different pages according to the CatID

Code: <?php $CatID=$_

Uploading files/images via forms
Hey all, I am building a database for work that will contain some minor data on plant species along

Delete HTML file after loading
I have limited experience with php and its been a year or two since I've last used it. I have a sma

newbie question about multiple queries
hi everyone,
I'm sorry to ask such a basic question, but I'm young and trying to learn php on my

present value of sequence?
Hi

Please help me to find out the present value of sequence?

Thanks

user administration
Dear @all,

what I have to do to set the user defaults for new users. At the moment I woul

Problem with HTTP Caching...?
Hi there, im trying to implement caching. But it doesn't always work.
I post it here because ther

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