jeudi 16 juin 2016

can i have dynamic date pickers using jquery by class selector


i have a dynamic html table and in one column i want a jquery ui date picker. A few questions:

  1. Can i have datepicker by class instead of id:

    $(document).ready(function(){
    $(".datepicker").datepicker();
    });

  2. Can i create them on the fly if i i am adding in textboxes with this class using jquery?


Aucun commentaire:

Enregistrer un commentaire