Question

I have a page with a DateTimePicker attached to a textbox. The problem is that the mouse is captured by the hour slider button when I open datetimepicker and click on the hour (or minute) slider button. The capture is not released even if I click the mouse inside or outside of the control. The control works fine on its demo website but something goes wrong when I use it on my page. Any idea what could be causing this? I am using JQuery 1.6.2-min. If I click on both the buttons, both starts moving with the mouse and value keeps changing in the textbox. How to release this capture or identify the problem?

Here the link to DateTimePicker I am using

Code I am using:

            $("#txtDateTime").datetimepicker({
            showOn: 'both',
            buttonImage: 'images/calendar.png',
            buttonImageOnly: true,
            dateFormat: 'mm/dd/yy',
            timeFormat: 'hh:mm',
            ampm: true
        });
Was it helpful?

Solution

I found the problem. It was because of jCorners script added inside the master file.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top