Nethan
Nethan

Reputation: 261

Cloning Jquery Time Entry

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

Answers (1)

Hasib Tarafder
Hasib Tarafder

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

Related Questions