April 7th, 2013, 10:55 AM
Image button not working
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.
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" />
April 7th, 2013, 03:25 PM
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?
April 9th, 2013, 08:34 PM
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.
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
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.