Friday, October 2, 2009

[jQuery] Re: Block access to the page but unblock certains divs

Hi Nalum,
Idon't think that answers my question. I know I can block at page and
element level however I want a mixture. I want to block the page but
leave the element that's in error alone i.e.

$(document).ready(function() {
$('#btnSubmit').click(function() {
$.blockUI({ message: null });

$('#form_surname').unblock(); //now unblock the
surname field as this needs correcting

$('.blockOverlay').attr('title','Click to
unblock').click($.unblockUI);
});
});

Thanks.

No comments: