Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
<script id="template-celula" type="text/template">
    <td height="#" width="#" >
        <div id="#" width="#">
            <table width="#">
                <tr>
                    <td >teste
                        <iframe style="#" src="#" width="#" height="#" >
                        </iframe>
                    </td>
                </tr>
          </table>
       </div>
    </td>   
</script>
  <table><tr></tr></table>
<script>
function celula() {
     var html = document.getElementById('template-celula').innerHTML;
     var div = document.createElement('div');
     div.innerHTML = html;
     return div.firstChild.nextSibling;
}
document.getElementsByTagName('tr')[0].appendChild(celula());
</script>
</body>
</html>
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers