Forum Post: RE: row span in a tables data cell (form layout)

Status
Not open for further replies.
S

Santosh Patel

Guest
Apparently jquery's unwrap states "The matched elements (and their siblings, if any) replace their parents within the DOM structure." if your TD is as is (that is it's html content) then the browser does some tidying and puts it appropriately as it finds a td inside a td and hence adds it as a sibling rather than a child. I'd suggest on putting a marker div in the script component and then using $('#my_unique_td').parent().html("Your_td_html_content");

Continue reading...
 
Status
Not open for further replies.
Top