views:

15

answers:

1

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

A: 

it is resolved.