This works: <button onclick='f(arg)'></button>
This also works (on Firefox): <button onclick=f(arg)></button>
(ie. no apostrophes or double quotes).
But I wonder if no apostrophes or double quotes works in general (eg. for other browsers)?
This works: <button onclick='f(arg)'></button>
This also works (on Firefox): <button onclick=f(arg)></button>
(ie. no apostrophes or double quotes).
But I wonder if no apostrophes or double quotes works in general (eg. for other browsers)?