Reputation: 902
I want to find and remove all the elements with specific attribute in the cloned object.
Following code works with the original object:
angular.element('.some-class [contenteditable]').removeAttr('contenteditable');
This code works fine, but don't know how to do it clone the object like:
temp = angular.element('.some-class').clone();
I want to remove all the elements with the attribute 'contenteditable'.
Upvotes: 1
Views: 40