This script works in Chrome, but not in Firefox. Does anyone know why?
Here is the markup:
<button> <span onclick="alert('yoo')">hey</span> </button>
This is by definition, see 4.10.8 Button element
Content Model:Content phrases, but there must be a non-interactive child content.
Source: https://habr.com/ru/post/1234812/More articles:Extract or restore HTML from AXWebArea - webkitBus error (flushing kernel) when using strcpy in mmap'ed file - cspring-boot-starter-tomcat vs spring-boot-starter-web - springAngular - set ng model using scope variable - javascriptThe file input field inside the button does not work in Firefox. - javascriptOverride property in .groovy application with external configuration in grails 3 - spring-bootRemove rvalueness, keep lvalue references (is the standard type of attribute available?) - c ++What is the difference between the "git subach module foreach git master origin pull" and the "git pull origin master -recurse-subodules" - gitAdding another grouping with dplyr - rHow to combine two data frames based on the nearest date - pythonAll Articles