datepicker binding

datepicker binding


I need some help with datepicker. I'm loading an html form into a div
via ajax and php. Normally I would use the livequery plugin to rebind
all the events to the selectors. Livequery looks something like:
$('a')
.livequery('click', function(event) {
alert('clicked');
return false;
});
But datepicker is implemented like:
$('#inputfield').datepicker();
I don't know how to rebind datepicker to an input field in the form I
load so that it will work. Can anyone advise?
Thanks