"Live region for multiple values" );
});
+test( ".replaceWith() (#9172)", function() {
+ expect( 1 );
+
+ var element = $( "#autocomplete" ).autocomplete(),
+ replacement = "<div>test</div>",
+ parent = element.parent();
+ element.replaceWith( replacement );
+ equal( parent.html(), replacement );
+});
+
}( jQuery ) );
"aria-live": "polite"
})
.addClass( "ui-helper-hidden-accessible" )
- .insertAfter( this.element );
+ .insertBefore( this.element );
// turning off autocomplete prevents the browser from remembering the
// value when navigating through history, so we re-enable autocomplete