HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 7th, 2013, 09:55 AM
YCPC55 YCPC55 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 65 YCPC55 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 15 h 21 m 26 sec
Reputation Power: 7
Image button not working

Hi everyone,
i was wondering if anyone had any idea why my image button will not work? but if i were to use a normal submit button it will work great thanks.
PHP Code:
 Image button not working:
<
input name="submit" type="image" SRC="images/go.png" HEIGHT="39" WIDTH="42" BORDER="0">
Normal button that works:
<
input name="submit" type="submit" value="Check" /> 

Reply With Quote
  #2  
Old April 7th, 2013, 02:25 PM
Nanomech's Avatar
Nanomech Nanomech is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2011
Location: The Pleiades
Posts: 196 Nanomech User rank is Sergeant (500 - 2000 Reputation Level)Nanomech User rank is Sergeant (500 - 2000 Reputation Level)Nanomech User rank is Sergeant (500 - 2000 Reputation Level)Nanomech User rank is Sergeant (500 - 2000 Reputation Level)Nanomech User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 23 h 52 m 41 sec
Reputation Power: 7
Send a message via Skype to Nanomech
Do a print_r() at the very top of your action file when using image and when using submit.

What does it return?

Can you post your HTML file and your action script please?

Regards,

NM.
__________________
"WERE NOT WORTHY!"
"WERE NOT WORTHY!"

Reply With Quote
  #3  
Old April 9th, 2013, 07:34 PM
BuildMyWeb BuildMyWeb is offline
buildmyweb.org
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2012
Location: NY
Posts: 58 BuildMyWeb User rank is Sergeant (500 - 2000 Reputation Level)BuildMyWeb User rank is Sergeant (500 - 2000 Reputation Level)BuildMyWeb User rank is Sergeant (500 - 2000 Reputation Level)BuildMyWeb User rank is Sergeant (500 - 2000 Reputation Level)BuildMyWeb User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 6 h 17 m 7 sec
Reputation Power: 7
Send a message via Skype to BuildMyWeb
Facebook
verify the path to your image is correct. you could also apply a null to value and use a background image instead. this would allow for changing states with sprites too.
__________________
Freelance Web Developer | Web Hosting |
PHP Applications
Web Development, Hosting, Graphic Design, SEO

Reply With Quote
  #4  
Old May 7th, 2013, 03:51 AM
shellygill shellygill is offline
Permanently Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2013
Location: Ludhiana
Posts: 33 shellygill User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 47 m 53 sec
Warnings Level: 15
Number of bans: 1
Reputation Power: 0
Why have you given the same name to your to your input type="image" and input type="submit" button. This is an error which is why your program is not being run correctly

Reply With Quote
  #5  
Old May 8th, 2013, 10:50 PM
BuildMyWeb BuildMyWeb is offline
buildmyweb.org
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2012
Location: NY
Posts: 58 BuildMyWeb User rank is Sergeant (500 - 2000 Reputation Level)BuildMyWeb User rank is Sergeant (500 - 2000 Reputation Level)BuildMyWeb User rank is Sergeant (500 - 2000 Reputation Level)BuildMyWeb User rank is Sergeant (500 - 2000 Reputation Level)BuildMyWeb User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 6 h 17 m 7 sec
Reputation Power: 7
Send a message via Skype to BuildMyWeb
Facebook
shellygill, i dont think he's using them at the same time. he's saying that if he substitutes the submit button for the image, it works.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Image button not working

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap