Skip to main content

Search and Top Navigation

#7219 closed bug (notabug)

Opened April 04, 2011 08:27PM UTC

Closed April 04, 2011 08:41PM UTC

Last modified April 04, 2011 09:02PM UTC

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!

Attachments (0)
Change History (4)

Changed April 04, 2011 08:41PM UTC by scottgonzalez comment:1

resolution: → invalid
status: newclosed

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

Changed April 04, 2011 08:46PM UTC by jeffcantin1979 comment:2

@{

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","")

Changed April 04, 2011 08:50PM UTC by scottgonzalez comment:3

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.

Changed April 04, 2011 09:02PM UTC by jeffcantin1979 comment:4

Sorry for misunderstanding.

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

http://jsfiddle.net/N52Vf/