Skip to content

Commit e29e7d0

Browse files
authored
Selector: Improve native alternative for :submit
Closes gh-1287
1 parent fa7becf commit e29e7d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/submit-selector.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<longdesc>
1010
<p>The <code>:submit</code> selector typically applies to button or input elements. Note that some browsers treat <code>&lt;button&gt;</code> element as <code>type="submit"</code> implicitly while others (such as Internet Explorer) do not. To ensure that markup works consistently across all browsers and guarantee that it is possible to consistently select buttons that will submit a form, always specify a <code>type</code> property.</p>
1111
</longdesc>
12-
<note id="jquery-selector-extension-alt" type="additional" data-selector=":submit" data-alt="input[type=&quot;submit&quot;], button[type=&quot;submit&quot;]"/>
12+
<note id="jquery-selector-extension-alt" type="additional" data-selector=":submit" data-alt="input[type=&quot;submit&quot;], button[type=&quot;submit&quot;], button:not([type])"/>
1313
<example>
1414
<desc>Finds all submit elements that are descendants of a td element.</desc>
1515
<code><![CDATA[

0 commit comments

Comments
 (0)