Just return false from a click handler. The box will be focused, which
will change the way it looks a little, so you may also want to blur
it. Something like:

$(':checkbox').bind('click', function() {
  this.blur();
  return false;
});

Tested on FF2/Mac.

--Erik


On 10/18/07, james_027 <[EMAIL PROTECTED]> wrote:
>
> hi,
>
> how do i prevent the checkbox to be check when click if it doesn't
> meet certain requirements?
>
> Thanks
>
>

Reply via email to