1 Replies - 2811 Views - Last Post: 27 September 2012 - 12:43 PM

#1 azej  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 26-March 09

Jquery datepicker not displaying in Chrome

Posted 27 September 2012 - 10:47 AM

Hi,
does anyone pls. have any idea why the datepicker does not work in Chrome (no problem in Mozzila and IE). I have downloaded jquery-1.8.1.min.js library and use it localy. Other sources are via link. Pls. see the code below.
And the second question - can I download and use localy all sources, css included? I am accessing my website via https and if I use a link to other website it alerts something like "Do you want to display only content which was delivered securely"


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<title>test</title>
<link href="http://fonts.googleapis.com/css?family=Kreon" rel="stylesheet" type="text/css" />
<link href="http://fonts.googleapis.com/css?family=Satisfy" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="css.css" />

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.8/themes/base/jquery-ui.css" type="text/css" media="all" />
<link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css" type="text/css" media="all" />

<script src="jquery-1.8.1.min.js" type="text/javascript"></script>
<!-- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script> -->
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.8/jquery-ui.min.js" type="text/javascript"></script>

</head>

<script>
// DATEPICKER
$(function() {

$( "#dat_od" ).datepicker({dateFormat: "dd.mm.yy"});

});
</script>

<body>
<form><input id="dat_od" type="text" value="enter date"></input></form>

</body>
</html>

thanks

Is This A Good Question/Topic? 0
  • +

Replies To: Jquery datepicker not displaying in Chrome

#2 azej  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 26-March 09

Re: Jquery datepicker not displaying in Chrome

Posted 27 September 2012 - 12:43 PM

I figured it out. The problem was that IE and Mozzila alerts the warning when dowloading unsecured content when I am using https. But Chrome simply did not display that content. So I downloaded all resources (css, js) and use it as local files and it works fine :-)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1