.replaceWith( "" ) with empty string not working
|Reported by:||markraddatz||Owned by:|
Choose an element you want to replace with an empty string.
$( "p" ).replaceWith( "" );
Expect the same behaviour as .remove(), but nothing happens. Works in version 1.8.3. Tested with version: >= 1.9.0, browser: Firefox 18.0.1, os: Ubuntu 12.04.
Change History (9)
comment:2 Changed 3 years ago by gibson042
- Component changed from unfiled to manipulation
- Status changed from new to open
- Version changed from git to 1.9.0
comment:3 Changed 3 years ago by Mark Raddatz
- Resolution set to fixed
- Status changed from open to closed