From: Michał Gołębiowski Date: Wed, 5 Nov 2014 17:14:56 +0000 (+0100) Subject: Manipulation: Check state lost if the name is set for Android 4.0-4.3 X-Git-Tag: 3.0.0-alpha1~204 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1bbb678949da480dce0d9ed3d0fb273bccce9787;p=jquery.git Manipulation: Check state lost if the name is set for Android 4.0-4.3 Refs gh-1820 Closes gh-1841 --- 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 );