Adding Datepicker at runtime

Adding Datepicker at runtime


Hi,
i'm adding a datepicker on a button click event:
$('#somebutton').click(function() {
// add <input type="text" id="sometextbox" /> into a new table row.
$('#sometextbox').datepicker();
});
but it doesn't position well when i focus that textbox. it's some
pixel above the textbox and simply doesn't look that pretty.
my other date pickers that i added on document ready are pretty :)
can someone help me?
cheers,
stefan