Skip to main content

Bug Tracker

Side navigation

Ticket #6221: internet-explorer-null-vals.diff
File internet-explorer-null-vals.diff, 0.3 KB (added by Vic D'Elfant, March 04, 2010 01:06PM UTC)

Patch

Index: jquery-1.4.2.js
===================================================================
--- jquery-1.4.2.js	(revision 647)
+++ jquery-1.4.2.js	(working copy)
@@ -1427,6 +1427,9 @@
 					this.selectedIndex = -1;
 				}
 
+			} else if ( val === null ) {
+				this.value = '';
+				
 			} else {
 				this.value = val;
 			}

Download in other formats:

Original Format