[jQuery] Duplicate row in a table + Masked Input Plugin for jQuery v1.1.1

[jQuery] Duplicate row in a table + Masked Input Plugin for jQuery v1.1.1


Hello everyone
I am a html page like this
<head>
<SCRIPT LANGUAJE="JavaScript">
$(document).ready(function(){
hideLoading();
$("#btnAdd").click(function(){
addRow();
});
$("#dbirthdate").mask("99/99/9999");
})
function addRow()
{
var clonedRow = $("#gridBody tr:last").clone(true);
$("#gridBody").append(clonedRow);
}
</SCRIPT>
</head>
<table>
<thead>
<tr>
<th></th>
<th>Nombre</th>
<th>Fecha de nacimiento</th>
<th>Parentesco</th>
</tr>
</thead>
<tbody id="gridBody">
<tr id="rowx">
<td>
<input type="text" name="sname" id="sname"
title="Nombre del adicional"/>
</td>
<td>
<input type="text" name="dbirthdate" id="dbirthdate"/>
</td>
</tr>
</tbody>
</table>
Note that i have this code $("#dbirthdate").mask("99/99/9999");
I am using the plugins Masked Input Plugin for jQuery
v1.1.1(www.digitalbush.com) for validate data enter.
The first input work fine, it show the mask but when I am duplicating
the row with the option clone(true), the news
date input don't have the mask
Any idea?
Thanks