Stay DRY. Example:
function setup(id, toCompare) {
$(id).focus(function () {
if ($(this).val() === toCompare) {
$(this).attr("value", "");
}
}).blur(function () {
if ($(this).val() === '') {
$(this).val(toCompare);
}
});
}
setup("#startDate", FromDateDefault);
setup("#endDate", ToDateDefault);
setup("#profileID", profileIdDefault);
setup("#organisationID", organisationIdDefault);