1.11M Members

datepicker

 
0
 

how to implement, onclick on radio button datepicker has to appear otherwise it should be hidden.

 
0
 

Enclose the datepicker in div tags with id (i.e. datepicker-wrap) and assign a function to a onclick event of the radio button

function toggleVisibility(id) {

    var element = documentGetElementByID(id);
    element.style.visibility = element.style.visibility == 'hidden' ? 'visible' : 'hidden';
}

Or you can use jQuery toggle method.

 
0
 

thanx a lot

Question Answered as of 1 Year Ago by broj1 and Bachov Varghese
You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: