Skip to content
A compilation of fixes for the clone() method in jQuery.
JavaScript
Latest commit 48e117e Apr 10, 2014 @spencertipping Merge pull request #3 from rarcega/master
Added support for <select> elements with multiple attribute
Failed to load latest commit information.
README
jquery.fix.clone.js
jquery.fix.clone.js.sdoc
jquery.fix.clone.js.sdocp Fixed a bad bug that caused immediate collection textareas and select… Jun 11, 2012

README

This repo contains jquery.fix.clone.js, which if included will fix a couple of
related bugs in jQuery's clone() method.

Originally there were two projects, jquery.fix.textarea-clone and
jquery.fix.select-clone. Those projects still exist, but only so that anyone
using them doesn't end up with broken code. This project is for all clone()-
related bugs going forwards.

Usage is the same as before:

<script src='.../jquery.fix.clone.js'></script>
<!-- At this point your .clone() method will work -->

And MIT license as usual.
Something went wrong with that request. Please try again.