Impromptu conditional display of dtpicker

Posted by pritisolanki on Stack Overflow See other posts from Stack Overflow or by pritisolanki
Published on 2010-03-04T18:21:17Z Indexed on 2010/03/18 18:21 UTC
Read the original article Hit count: 219

Filed under:
|
|
|

Hi,

I have two checkbox on prompt box i.e If user click yes I have to show dtpicker and user click no hidden the dtpicker.

I tried following

$('#yes').click(function(){$('#dtpickerdiv').css("display","block");});

but the hidden div doesn't appear on prompt box?

I tried alerting following

alert -$(‘#dtpickerdiv’).css(“display”) : This alert “undefined” alert – $(‘#dtpickerdiv’)) : “object object

Any idea how to resolve this?

Regards, Priti

© Stack Overflow or respective owner

Related posts about impromptu

Related posts about conditional