title: jQuery .remove() - youtube iframe doesn't get deleted fully in Internet Explorer
body: <p>I'm deleting element <strong>tr</strong> from this table using jQuery 1.7.1 and it's not working well in Internet Explorer (I have 8.07 but I guess more IE do that - other people have the same thing)</p>
  
  <p>Remove call:</p>
  
  <pre><code>$("#tr_video_element_1").remove();
  </code></pre>
  
  <p>When I do it, the screen goes black (seems like it is a youtube iframe background or something - a few days ago there was a part of the site that was a link to one of the youtube videos in ). </p>
  
  <p>The code validates fine. What am I doing wrong?</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
  
  
  &lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&gt;
      &lt;link type="text/css" href="css/smoothness/jquery-ui-1.8.16.custom.css" rel="stylesheet" /&gt; 
      &lt;link rel="stylesheet" type="text/css" href="css/style.css" /&gt;
      &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;
      &lt;script src="js/jquery-ui-1.8.16.custom.min.js" type="text/javascript"&gt;&lt;/script&gt;
      &lt;script src="js/sorted_elements.js" type="text/javascript"&gt;&lt;/script&gt;
      &lt;script src="js/ajax.js" type="text/javascript"&gt;&lt;/script&gt;
      &lt;title&gt; Panel &lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;&lt;table id="editorial_table"&gt;&lt;thead&gt;&lt;tr&gt;
                      &lt;th&gt;Position&lt;/th&gt;
                      &lt;th&gt;Youtube video id&lt;/th&gt;
                      &lt;th&gt;Video&lt;/th&gt;
                      &lt;th&gt;Delete&lt;/th&gt;
                   &lt;/tr&gt;  
           &lt;/thead&gt;&lt;tbody&gt;&lt;tr class="video_tr_element" id="tr_video_element_1"&gt;&lt;td&gt;&lt;input readonly="readonly" class="position" name="input_position_1" id="input_position_1" size="1" type="text" value="1" /&gt;&lt;/td&gt;&lt;td&gt;&lt;input class="yt_link" name="yt_link_position_1" id="yt_link_position_1" type="text" value="cjDyJnzYgpk" /&gt;
                     &lt;div style="margin:auto; margin-top:9px; width:70px; "&gt;
                          &lt;a href="#" class="up 1" id="up_pos_1"&gt;&lt;img src="img/up_arrow.png" alt="Move object up"  /&gt;&lt;/a&gt;
                          &lt;a href="#" class="down 1" id="down_pos_1"&gt;&lt;img src="img/down_arrow.png" alt="Move object down" /&gt;&lt;/a&gt;
                    &lt;/div&gt;
                &lt;/td&gt;&lt;td&gt;&lt;div class="inline" style="height:186px;width:210px;margin:0;margin-right:5px;padding:0; "&gt;
  
                          &lt;iframe id="if_pos_1" title="YouTube video player" class="youtube-player"
                          width="210" height="186" src="http://www.youtube.com/embed/cjDyJnzYgpk"
                          frameborder="0"&gt;&lt;/iframe&gt;
              &lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;a class="delete 1" href="#"&gt;Delete&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr class="video_tr_element" id="tr_video_element_2"&gt;&lt;td&gt;&lt;input readonly="readonly" class="position" name="input_position_2" id="input_position_2" size="1" type="text" value="2" /&gt;&lt;/td&gt;&lt;td&gt;&lt;input class="yt_link" name="yt_link_position_2" id="yt_link_position_2" type="text" value="cjDyJnzYgpk" /&gt;
                     &lt;div style="margin:auto; margin-top:9px; width:70px; "&gt;
                          &lt;a href="#" class="up 2" id="up_pos_2"&gt;&lt;img src="img/up_arrow.png" alt="Move object up"  /&gt;&lt;/a&gt;
                          &lt;a href="#" class="down 2" id="down_pos_2"&gt;&lt;img src="img/down_arrow.png" alt="Move object down" /&gt;&lt;/a&gt;
                    &lt;/div&gt;
                &lt;/td&gt;&lt;td&gt;&lt;div class="inline" style="height:186px;width:210px;margin:0;margin-right:5px;padding:0; "&gt;
  
                          &lt;iframe id="if_pos_2" title="YouTube video player" class="youtube-player"
                          width="210" height="186" src="http://www.youtube.com/embed/cjDyJnzYgpk"
                          frameborder="0"&gt;&lt;/iframe&gt;
              &lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;a class="delete 2" href="#"&gt;Delete&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr class="video_tr_element" id="tr_video_element_3"&gt;&lt;td&gt;&lt;input readonly="readonly" class="position" name="input_position_3" id="input_position_3" size="1" type="text" value="3" /&gt;&lt;/td&gt;&lt;td&gt;&lt;input class="yt_link" name="yt_link_position_3" id="yt_link_position_3" type="text" value="NMqLH6_bDNs" /&gt;
                     &lt;div style="margin:auto; margin-top:9px; width:70px; "&gt;
                          &lt;a href="#" class="up 3" id="up_pos_3"&gt;&lt;img src="img/up_arrow.png" alt="Move object up"  /&gt;&lt;/a&gt;
                          &lt;a href="#" class="down 3" id="down_pos_3"&gt;&lt;img src="img/down_arrow.png" alt="Move object down" /&gt;&lt;/a&gt;
                    &lt;/div&gt;
                &lt;/td&gt;&lt;td&gt;&lt;div class="inline" style="height:186px;width:210px;margin:0;margin-right:5px;padding:0; "&gt;
  
                          &lt;iframe id="if_pos_3" title="YouTube video player" class="youtube-player"
                          width="210" height="186" src="http://www.youtube.com/embed/NMqLH6_bDNs"
                          frameborder="0"&gt;&lt;/iframe&gt;
              &lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;a class="delete 427" href="#"&gt;Delete&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr class="video_tr_element" id="tr_video_element_4"&gt;&lt;td&gt;&lt;input readonly="readonly" class="position" name="input_position_0" id="input_position_0" size="1" type="text" value="0" /&gt;&lt;/td&gt;&lt;td&gt;&lt;input class="yt_link" name="yt_link_position_0" id="yt_link_position_0" type="text" value="" /&gt;
                     &lt;div style="margin:auto; margin-top:9px; width:70px; "&gt;
                          &lt;a href="#" class="up 0" id="up_pos_0"&gt;&lt;img src="img/up_arrow.png" alt="Move object up"  /&gt;&lt;/a&gt;
                          &lt;a href="#" class="down 0" id="down_pos_0"&gt;&lt;img src="img/down_arrow.png" alt="Move object down" /&gt;&lt;/a&gt;
                    &lt;/div&gt;
                &lt;/td&gt;&lt;td&gt;&lt;div class="inline" style="height:186px;width:210px;margin:0;margin-right:5px;padding:0; "&gt;
  
                          &lt;iframe id="if_pos_0" title="YouTube video player" class="youtube-player"
                          width="210" height="186" src="http://www.youtube.com/embed/"
                          frameborder="0"&gt;&lt;/iframe&gt;
              &lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;a class="delete 478" href="#"&gt;Delete&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr class="video_tr_element" id="tr_video_element_5"&gt;&lt;td&gt;&lt;input readonly="readonly" class="position" name="input_position_4" id="input_position_4" size="1" type="text" value="4" /&gt;&lt;/td&gt;&lt;td&gt;&lt;input class="yt_link" name="yt_link_position_4" id="yt_link_position_4" type="text" value="NMqLH6_bDNs" /&gt;
                     &lt;div style="margin:auto; margin-top:9px; width:70px; "&gt;
                          &lt;a href="#" class="up 4" id="up_pos_4"&gt;&lt;img src="img/up_arrow.png" alt="Move object up"  /&gt;&lt;/a&gt;
                          &lt;a href="#" class="down 4" id="down_pos_4"&gt;&lt;img src="img/down_arrow.png" alt="Move object down" /&gt;&lt;/a&gt;
                    &lt;/div&gt;
                &lt;/td&gt;&lt;td&gt;&lt;div class="inline" style="height:186px;width:210px;margin:0;margin-right:5px;padding:0; "&gt;
  
                          &lt;iframe id="if_pos_4" title="YouTube video player" class="youtube-player"
                          width="210" height="186" src="http://www.youtube.com/embed/NMqLH6_bDNs"
                          frameborder="0"&gt;&lt;/iframe&gt;
              &lt;/div&gt;&lt;/td&gt;&lt;td&gt;&lt;a class="delete 494" href="#"&gt;Delete&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
  &lt;/body&gt;&lt;/html&gt;
  </code></pre>