Monday, August 22, 2011

Content Editor WebPart Using JQuery

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>jQuery UI Datepicker - Default functionality</title>
    <link rel="stylesheet" href="/_catalogs/masterpage/themes/base/jquery.ui.all.css">
    <script src="/_catalogs/masterpage/jquery-1.6.2.js"></script>
    <script src="/_catalogs/masterpage/ui/jquery.ui.core.js"></script>
    <script src="/_catalogs/masterpage/ui/jquery.ui.widget.js"></script>
    <script src="/_catalogs/masterpage/ui/jquery.ui.datepicker.js"></script>
    <link rel="stylesheet" href="/_catalogs/masterpage/demos.css">
    <script>
    $(function() {
        $( "#datepicker" ).datepicker();
    });
    </script>
</head>
<body>
<div class="demo">
<p>Date: <input type="text" id="datepicker"></p>
</div><!-- End demo -->
<div class="demo-description">
</div><!-- End demo-description -->
</body>
</html>

No comments:

Post a Comment