This is a migrated thread and some comments may be shown as answers.

Unbelivable !

3 Answers 170 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Marcus
Top achievements
Rank 1
Marcus asked on 08 Nov 2011, 05:45 PM
This piece of code doesnt work ...
What is the failure?
<html>
<head>
<link href="http://cdn.kendostatic.com/2011.3.1007/styles/examples.min.css" rel="stylesheet"/>
        <link href="http://cdn.kendostatic.com/2011.3.1007/styles/kendo.common.min.css" rel="stylesheet"/>
        <link href="http://cdn.kendostatic.com/2011.3.1007/styles/kendo.kendo.min.css" rel="stylesheet"/>
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
        <script src="http://cdn.kendostatic.com/2011.3.1007/js/kendo.all.min.js"></script>
<script>
$(document).ready(function() {
 $("#datepicker").kendoDatePicker();

)};
</script>
</head>
<body>
<input id="datepicker" value="10/10/2011"/>
</body>
</html>

3 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 09 Nov 2011, 10:04 AM
Hello Marcus,

I noticed a typo in the document.ready event handler. I believe this is the cause of the problem. Check this jsFiddle demo, which shows that everything is OK. 

Regards,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Luis
Top achievements
Rank 1
answered on 10 Nov 2011, 07:22 PM
I think here's your error
)};
 </script>

it should be
});
 </script>
0
Marcus
Top achievements
Rank 1
answered on 11 Nov 2011, 02:25 AM
Oh yes ... uurgs

Thank you
Tags
Date/Time Pickers
Asked by
Marcus
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Luis
Top achievements
Rank 1
Marcus
Top achievements
Rank 1
Share this question
or