datanya modif dari tutorial mas Putu :
<link type="text/css" href="css/custom-theme/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" src="js/ui/i18n/jquery.ui.datepicker-id.js"/></script>
<script type="text/javascript">
$(function(){
// bufferdie love m...
$(function(){
$("#tgl_daftar").datepicker({dateFormat:'yy-mm-dd'});
});
});
</script>
<form name="formalbum" action="simpan-album.php" method="post">
<table id="tabel-lagu" cellspacing="0" border="1" cellpadding="3">
<tr>
<td><input type="text" name="no_track[0]"/></td>
<td><select name="judul_lagu[0]"><option value="Andi">Andi</option><option value="Eka">Eka</option><option value="Pele">Pele</option><option value="Jaja">Jaja</option></select></td>
<td><input type="text" name="tgl_daftar[0]"id="tgl_daftar"></td>
<td><button type="button" class="del">Del</button></td>
</tr>
<tr id="last">
<td colspan="4" align="right"><button type="button" id="addRow">Add</button></td>
</tr>
</table>
<input type="submit" value="Simpan"/>
</form>
<script type="text/javascript" src=" https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript">
var i = 1;
$(function(){
$("#addRow").click(function(){
row = '<tr>'+
'<td><input type="text" name="no_track"size="20"/></td>'+
'<td><select name="judul_lagu"><option value="Andi">Andi</option><option value="Eka">Eka</option><option value="Pele">Pele</option><option value="Jaja">Jaja</option></select></td>'+
'<td><input type="text" name="tglsurat"id="tglsurat"></td>'+
'<td><button type="button" class="del">Del</button></td>'+
'</tr>';
$(row).insertBefore("#last");
i++;
});
});
$(".del").live('click', function(){
$(this).parent().parent().remove();
});
</script>
Simpan di file simpan_album.php
Tanggalnya nggak mau jalan, dan kalau comboboxnya berasal dari tabel lain gmana ya mas, nuwun