Timeline for Сlone image in pure js
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 5, 2018 at 16:45 | comment | added | async await | While I agree that the action attribute should not be used, I believe he is looking for type, not name. If you do not declare a button type as "button" inside a form, it will automatically try to make it a submit button. If you would like to use a custom attribute, use the data- prefix, i.e. data-action = "button" | |
Jun 29, 2018 at 13:41 | comment | added | Máté Safranka |
Just a minor nitpick: <button> elements do not have an action attribute in standard HTML. What you're probably looking for is name . Cf. developer.mozilla.org/en-US/docs/Web/HTML/Element/button
|
|
Jun 27, 2018 at 16:41 | vote | accept | Kate Herasimenak | ||
Jun 27, 2018 at 15:25 | answer | added | Ivan | timeline score: 1 | |
Jun 27, 2018 at 13:40 | history | asked | Kate Herasimenak | CC BY-SA 4.0 |