Skip to content Skip to sidebar Skip to footer

Date Picker Not Appearing When Cursor Is Put In Textbox

I have two date pickers appearing when green color is clicked, but when i am putting mouse cursor on those two text boxes, then nothing appears, only after clicking image/green col

Solution 1:

The code in the two examples are different. Try to set up an example that is more like your real code. Try to do the same thing in the 2nd example:

new DatePicker('.picker', {
     pickerClass: 'picker ',
    allowEmpty: true
});

Solution 2:

Add an click event on the textboxes:

$$('.date').addEvent('click', function() { 
      dp.show(); 
});

Post a Comment for "Date Picker Not Appearing When Cursor Is Put In Textbox"