You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Solution**: If you are creating HTML that absolutely requires leading text, use `$.parseHTML` and pass the results to `$()`.
168
168
169
+
### JQMIGRATE: jQuery.fn.andSelf() replaced by jQuery.fn.addBack()
170
+
171
+
**Cause**: The `.andSelf()` method has been renamed to `.addBack()` as of jQuery 1.9 to better reflect its purpose of adding back the previous set of results.
172
+
173
+
**Solution**: Replace any use of `.andSelf()` with `.addBack()`.
174
+
175
+
### JQMIGRATE: jQuery.fn.size() is deprecated; use the .length property
176
+
177
+
**Cause**: The `.size()` method returns the number of elements in the current jQuery object, but duplicates the more-efficient `.length` property which provides the same functionality. As of jQuery 1.9 the `.length` property is the preferred way to retrieve this value.
178
+
179
+
**Solution**: Replace any use of `.size()` with `.length`.
0 commit comments