Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Bill on Mar 21, 2009 20:03
open dhtmlx forum
Calendar - Backsapce in read-only text field

Figured out my sensitive date range question, using:

    dateFrom = new Date();
    dateTo = new Date();
    dateTo.setDate(dateTo.getDate()+90);
    cal1.setSensitive(dateFrom, dateTo);

However, I have discovered a small problem. If you click in the text field to pop-up the calendar, the hit the backspace, the browser is going back a page in history. Using IE8.

Answer posted by Alex (support) on Mar 23, 2009 02:57

>> However, I have discovered a small problem. If you click in the text field to pop-up the calendar, the hit the backspace, the browser is going back a page in history. Using IE8.

This is the default IE behaviour. The calendar doesn't set any event handlers to the input except onclick to open calendar.