Greetings,
I'm working with some guys who are developing an app with Update Panels.
I'd like to use the jQuery datepicker on a textfield that is part of a row that can be added multiple times via this update panel, and I've got the JavaScript below to work successfully:
function pageLoad(sender, args)
{
if(args.get_isPartialLoad())
{
$(".datepicker").datepicker({ //rebind to all step datepickers
duration: ''
});
}
}
However, there are multiple update panels on this page so it's being trigged when they all update - is there a way to add a parameter or similar so this only fired when that specific event is needed?
Thanks, Chris