From e1dcf96b526a7fd9b323cdf7b4f68be1e72f0d6c Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Mon, 31 Dec 2012 15:17:24 -0500 Subject: [PATCH] Use a fresh input for the value-lossage check. --- src/support.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/support.js b/src/support.js index 9533294ff..ceb3ddc84 100644 --- a/src/support.js +++ b/src/support.js @@ -85,6 +85,7 @@ jQuery.support = (function() { } // Check if an input maintains its value after becoming a radio + input = document.createElement("input"); input.value = "t"; input.setAttribute( "type", "radio" ); support.radioValue = input.value === "t"; -- 2.39.5