Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#7219 closed bug (notabug)

DatePicker on iExplorer

Reported by: jeffcantin1979 Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.datepicker Version: 1.8.11
Keywords: Cc:
Blocked by: Blocking:

Description

I am using the latest version of the datePicker script available on http://marcgrabanski.com/articles/jquery-ui-datepicker (I can't find any version number in that script)

with jQuery v 1.4.4, and even if I added an empty function on the onSelect event, the calendar still doesn't close when I select a date. I even tried in an empty project. I've noticed that clicking on a date add a # character at the end of the URL. But that's about it. The calendar doesn't close, don't fire the onSelect event, and don't return any date in the input field. In Firefox, everything works perfectly.

Any idea? Thank you!

Change History (4)

comment:1 Changed 9 years ago by Scott González

Resolution: invalid
Status: newclosed

Please provide a reduced test case using the latest version of the plugin.

comment:2 Changed 9 years ago by jeffcantin1979

@{

ViewBag.Title = "Index"; Layout = "~/Views/Shared/_Layout.cshtml";

}

<script type="text/javascript" src="http://localhost:59591/Scripts/jquery.ui.datepicker.js"></script> <script src="http://localhost:59591/Scripts/jquery-ui.js" type="text/javascript"></script>

<script type="text/javascript">

$(function () {

$('#txtDateDebut').datepicker({ onSelect: function () { alert('allo'); } });

});

</script>

<h2>Index</h2>

@Html.TextBox("txtDateDebut","")

comment:3 Changed 9 years ago by Scott González

Something meaningful and useful. As mentioned in the red box, please use jsFiddle or jsbin to provide test cases. I can't run the code you've pasted and even if I could it wouldn't be meaningful since I can't run code off YOUR localhost.

comment:4 Changed 9 years ago by jeffcantin1979

Sorry for misunderstanding. I just copied my project, and it work on jsfiddle, but not in my app :-/

http://jsfiddle.net/N52Vf/

Note: See TracTickets for help on using tickets.