jQuery clone()

The jQuery clone() method is used to duplicate elements on a page, to make copies of the selected elements. Syntax: $(selector).clone(true) $(selector).clone(false) True: True parameter is used to specify that the event handler should also be copied. False: The false parameter is the default parameter of the clone() method which specifies that the event handler … Read more