Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 02-18-2009, 09:48 AM   #1 (permalink)
Contributing Member
 
Join Date: 12-14-08
Posts: 140
iTrader: 0 / 0%
Latest Blog:
None

2939195631902 is liked by many
Lightbulb <input type="image" src="login_button.png" name="login" /> Error in IE !! HELP

<input type="image" src="login_button.png" name="login" /> this will show up as NOT set in IE, but SET in Chrome. It will only show SET in IE, if i change type into type="submit" rather than "image".

These two piece of codes is from my website. I put them on test.php and test_action.php in attempt to figure out the problem.

test.php:

<form action="test_action.php" method="post">
<input type="image" src="direct_images/header_login_button.png" name="login" />
</form>

In test_action.php the only thing is:

if (isset($_POST['login'])) {
echo "login is set";
} else {
echo "error";
}


Yet, it says "login is set" for chrome, but says "error" in IE. However, if i change the type="image" into type="submit", it works fine in both.

I'm sure you'd get the same result if you try it on your wamp.

any comment is apprecaited.!!
2939195631902 is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"No Input File Selected" Error in HtAccess, how do I fix? dcshoeco1 Coding Forum 5 03-27-2008 02:05 AM
<meta http-equiv="Pragma" content="no-cache" /> FGTH SEO Forum 4 06-21-2007 12:29 PM
Home page with "latest news", "news archive" and "update" tekitouni Web Design Lobby 1 09-19-2006 08:39 PM
"v7ndotcom elursrebmem" already bigger than "Nigritude Ultramarine"! Jim Westergren SEO Forum 31 01-21-2006 12:26 PM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 08:02 AM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.