Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- In JQuery - remove a div with a certain class, but leave its content?


Fotiman - 4:19 pm on Feb 21, 2012 (gmt 0)


Try this:
Change find("td div") to find("td > div"). This will select only the div elements that are a direct child of the parent td.


Thread source:: http://www.webmasterworld.com/javascript/4411736.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com