Announcement

Collapse
No announcement yet.

Jquery calendar on product or check out

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Jquery calendar on product or check out

    Does anyone have any insight on where I can place my code? I’d like to add a calendar to certain products, where the “options” tab would show, or even on the checkout page near the checkout questions. Below is my code snippet for reference. Any help would be appreciated.
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    <!doctype html>
    <html lang="en">
    <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>jQuery UI Datepicker - Default functionality</title>
    <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
    <link rel="stylesheet" href="/resources/demos/style.css">
    <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
    <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
    <script>
    $( function() {
    $( "#datepicker" ).datepicker();
    } );
    </script>
    </head>
    <body>
    <p>Date: <input type="text" id="datepicker"></p>
    </body>
    </html>
Working...
X