Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript jQuery Date Selector Re: jQuery Date Selector

#80380

You would think this would work:

Code:
hideIfClickOutside: function(event) {
if( event.target == $(‘.date_input’)) {
this.show();
}
if( event.target != $(‘.date_input’) && event.target != $(‘.date_selector’)) {
this.hide();
}
},

…but it doesn’t.