开发者

How to use other jquery source files in jquery thick box, e.g jquery calender

开发者 https://www.devze.com 2023-03-22 02:38 出处:网络
I have a jquery thick box and its working fine Now, how can i implement the jquery calender to a text field in the jquery thick box

I have a jquery thick box and its working fine

Now, how can i implement the jquery calender to a text field in the jquery thick box

follwing is my html code

开发者_开发技巧
 $(document).ready(function() {

        $('form#hotel_search_popup').ajaxForm({



        });


<form id="hotel_search_popup">
<input type="text" name="date"/>
</form


After you've included the jquery library you should just need to include the jqueryui file. Make sure you close the script tags properly. Also give your date input an ID attribute to use as the selector to assign the datepicker

e.g.

<script src="src"></script>

not

Then you should just need

$(function(){
    $('#date').datepicker();
});
0

精彩评论

暂无评论...
验证码 换一张
取 消