1
Well, I’m in the final stretch of developing a website, and a problem has arisen with the browser
Firefox
, in all others browsers
tested, a link
inside a button worked, however, on firefox
, it reads the cancel/back button as a submit
, but he’s there just as a simple type="button"
I was wondering if there’s any way that with javascript
or Jquery
, I can solve the problem.
*Tested browsers [Chrome, Firefox, Opera, Safari Windows, Safari IOS, IE9+]
but I don’t want to disable Submit, I just want the back button to act as a link, for example, if the user got confused with the page, filled in some information, it could go back to the desired page, I tested the function, and it disabled the Submit button but not the back
– Murilo Melo
Got it. Another method to make a "back" button would be without the
type="button"
and the button in an "a" modeled with CSS. For example:<a href="http://www.stackoverflow.com/" class="btn-voltar">Voltar</a>
– Jonatas Nardi
I did it but it doesn’t work, ta button reading as Submit
– Murilo Melo