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

If a form submits back to same page do you need to use $get
IM trying to pass page number and year that was selected back to the same page.

i have this c

Multi Level Array Problem
hi all,

For example I have array like below:

$temp = array(array('north america', 'us'

asking for direction
I have 2 tables in my data, which are "post" and "event"
I won't make a summa

LOOPing Problem
Hello All!

The following code loops through the data and displays the data accordingly. My p

error with opendir
when i do this

if ($handle = opendir($dir)) {
while (false !== ($file = readdir($han

sendmail code suddenly not working
Hi Guys, I maintain 3 sites (including my own) I use the following code from a french webmaster that

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

Force download script not handling files with spaces properly
I have a regular old php force download script, uses this code:

Code: header("Cache-Cont

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

Unable to display contents in Second Drop Down Box
Hi All,

What I am trying to do is 2 dependent drop down boxes and when user selects su

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