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'>";

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

Form help: Syntax & Logic
Hello again all,

I'm working on a form and ran into a wall (again) and can't seem to think th

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

duplicate record notification
In my database, after insertion of records, I want to know if the record inserted is duplicate or no

Bandwidth monitoring?
Hi guys,

I need a little information I have written a php app and I occurred to that I need

Web Host List
Here is a list of web hosts that offer PHP and MySQL. It is no where near a full list, but it is mos

my login script page is not working on remote computers
hi my login is working on my computer, but when i tried 2 computers from 2 different locations, they

xml
<?php

echo "<h1>XML Articles</h1>";

$home

Undefined variables
hi
----------------------------------------------------------------------------------------------

how to get values from $_Post with onchange="form.submit();"?
Hi, I have a form that submit to itself with a file upload field and two other hidden field values.<

error checking breaking my code
Hi there, OK first of all, big apologies for what I assume is really fundamental errors in the struc

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