Jquery Mobile does not work in a secure environment (https)

Asked

Viewed 105 times

0

I have a website from which an area of it is using the digital certificate (https), but jquery mobile does not work. How would I solve this? Go down as I’m calling:

<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>jQuery Mobile: Theme Download</title>
    <script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
    <script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile.structure-1.4.5.min.css" />
    <link rel="stylesheet" href="themes/pertutti.min.css" />
    <link rel="stylesheet" href="themes/jquery.mobile.icons.min.css" />

  <style media="screen">
  table { width:100%; border-spacing: 0; }
   th { text-align:left; }
   th h3 { margin:.6em 0 .6em .5em; }
   th, td { vertical-align:top; border-top:1px solid #eee; padding: 1px 3px; background-color:#fcfcfc; }
   td .ui-btn { margin:.4em 0 .5em 0; }
   td .ui-btn-inner { padding: .4em 15px; }
  </style>
</head>
<body>
....
  • 1

    It is better to include your code. They will mark the question as not clear enough or too wide, and rightly.

  • 1

    Probably the source that pulls jquery-mobile is http. what can be done, download the library and include through a path of your application, or search for a source that is also https

  • You are right innovates pixel. I put the snippet as I am calling the mobile jquery.

  • 1

    Include s at the end of http, that Cdn has ssl certificate also

  • Marceloboni perfect. It worked! Thank you!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.