Bootstrap Skeleton
This is a simple Bootstrap skeleton. You can fork it to get a ready to use Bootstrap fiddle.
HTML
<script src="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.1.0/bootstrap.min.js"></script>
<div class="container">
<div class="hero-unit">
<h1>Bootstrap jsFiddle Skeleton</h1>
<p>Fork this fiddle to test your Bootstrap stuff.</p>
<p>
<a class="btn btn-primary btn-large" href="http://twitter.github.com/bootstrap/index.html" target="_blank">
Learn more about Bootstrap
</a>
</p>
</div>
</diV>
CSS
@import url('http://twitter.github.com/bootstrap/assets/css/bootstrap.css');
.container {
margin-top: 10px;
}
JavaScript
$(".add_row").click(function() {
var selProdukte;
$.ajax({
type: "POST",
url: "addnewrecord.php",
dataType: "json",
data: {
action: "get_produkte"
}
}).done(function(data) {
$.each(data, function(i, item) {
selProdukte = '<option>'+item.token+'</option>';
});
});
alert(selProdukte);
$("#produktzuordnen tr").first().after('<tr><td><select id="lieferanten" name="lieferanten"><option>1</option></select></td><td></td></tr>');
});