Reputation: 261
I am using Jquery Time Entry by Keith Wood. My problem is how to clone form it. I know how to clone a form but if I clone the form time entry, it won't. Please help me.
Upvotes: 4
Views: 301
Reputation: 5813
Use the following code to clone the time form...
$('#defaultEntry').timeEntry().change(function() {
console.log($(this).clone());
});
Here i use clone method of jquery to clone the time entry text box in time entry change event.
Hope this will help you...
Upvotes: 4