jQuery

jQuery Intro

jQuery Intro Quiz

jQuery Intro Exercise

jQuery Basic

jQuery Basic Quiz

jQuery Basic Exercise

jQuery Advance

jQuery Advance Quiz

jQuery Advance Exercise

jQuery Selectors

jQuery Effects

jQuery Events

jQuery Methods and Properties

jQuery Traversing

jQuery CSS and HTML Methods

jQuery clone() Method

jQuery clone() Method

 

 

The clone() method is used to make a copy of selected elements, including its child nodes, text, and attributes.

 

Syntax:-

 

Its syntax is:- $(selector).clone(true | false)

 

Explanation:-

 

Parameter Description
true Specifies that event handlers also should be copied
false Default. Specifies that event handlers should not be copied

Code Explanation

All Tutorials related to jQuery CSS and HTML Methods

All Sections related to jQuery