I now see the image button, but when I click it, I don't get taken to the correct page now.

Any thoughts?

dresden_phoenix
—
2013-04-20T20:16:44Z —
#4

where did you want the button to take you to? you have added a .js that sends a user to "credits.php", in your OP this button would have simply submitted the form. if that's what you want then just remove the onclick .js

ChrisjChrisj
—
2013-04-21T20:30:39Z —
#5

Thanks for your reply.I'm not clear on what you're saying, but this is an open source script that's modified.I didn't add .js, it came that way.It works correctly without the image (including the .js and onclick and credits.php).I'd like it to continue to work the same way, but I'd just like to add an improved image, to the button. Which I did but it somehow screws up the button's original execution, which is to take me to credits.php.Any other help will be appreciated.

dresden_phoenix
—
2013-04-21T20:59:19Z —
#6

Sorry, I see how my phrasing was all worbly there.

you need to counter the default action of the image input ( which is to submit the form) to do this you add 'return false; ' as the last thing in your onclick e