This will just duplicate the textual content "thistext". Now to get it engaged on click, make use of the jquery onclick purpose and keep the value (the textual content you should duplicate) in a string (if you want then you can use DOM also to get a value through the https://daltonccxci.tkzblog.com/39293668/5-essential-elements-for-get-started