Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
  <div id="wrapper"></div>
</body>
</html>
 
function getItemBlock() { 
  var strItemBlock=['<div class="itemblock newitem" >',
                  '<h5>Item <span class="itemnum"><\/span>',                                       
                  '<button class=\"btnDeleteItem btn\">Delete Item<\/button>', 
                  '<\/h5>',
                  '<div class=\"row\">',
                  '<div class=\"col\">',
                  '<\/div>']
   return strItemBlock.join('\n');
}
$('#wrapper').append(getItemBlock());
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers