diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2014-11-05 18:14:56 +0100 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2014-11-06 16:05:18 +0100 |
commit | 1bbb678949da480dce0d9ed3d0fb273bccce9787 (patch) | |
tree | a526a3c2c331f25bdfc4f751ce7746f63eb08593 /src/manipulation/support.js | |
parent | c309b95756b83b60fadc369edb120db4520c364a (diff) | |
download | jquery-1bbb678949da480dce0d9ed3d0fb273bccce9787.tar.gz jquery-1bbb678949da480dce0d9ed3d0fb273bccce9787.zip |
Manipulation: Check state lost if the name is set for Android 4.0-4.3
Refs gh-1820
Closes gh-1841
Diffstat (limited to 'src/manipulation/support.js')
-rw-r--r-- | src/manipulation/support.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/manipulation/support.js b/src/manipulation/support.js index 92c92b5ff..98b752818 100644 --- a/src/manipulation/support.js +++ b/src/manipulation/support.js @@ -7,10 +7,13 @@ define([ div = fragment.appendChild( document.createElement( "div" ) ), input = document.createElement( "input" ); + // Support: Android 4.0-4.3 + // Check state lost if the name is set (#11217) // Support: Windows Web Apps (WWA) // `name` and `type` must use .setAttribute for WWA (#14901) input.setAttribute( "type", "radio" ); input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); div.appendChild( input ); |