开发者

how to use date picker on dynamically generated objects

I want to use datepicker, while I am generating text boxes 开发者_开发技巧on which i need to use date picker. can any one tell me how i can use.


After creating your text box dynamically use jquery to make it in to a date picker.

$('#divId').append('<input type="textbox" id="txtId"/>');//create text box

$('#txtId').datepicker();//create date picker
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜