Questions tagged [clone]

A clone is a copy of an object with all of the same attributes, data, and methods as the original object. Or a software system that is designed to mimic another system.

A clone is a copy of an object with all of the same attributes, data, and methods as the original.

In practice, an object is cloned when you want to duplicate the original exactly and then change it in some way, such as changing a due date on a recurring task or linking it to a different object in a database hierarchy.

In computing, a clone is a hardware or software system that is designed to mimic another system.

See Also:

4519 questions
1
vote
1 answer

jQuery Clone inputs in two forms on the same page?

I have been trying to get two forms on the same page to work and the only issue i'm having is not getting the clone inputs to work, they seem to conflict with each other due to the div elements. I have been using this tutorial as a…
Shoebox
  • 591
  • 2
  • 7
  • 17
1
vote
2 answers

Clearing TextBox Values after being Cloned using jQuery

I'm using the following code to clone a row in a table when the user clicks on the Add button: $('.addButton').click(function () { $('#quotesTable tbody>tr:last').clone(true).insertAfter('#quotesTable tbody>tr:last'); }); How…
Melanie
  • 584
  • 2
  • 11
  • 31
1
vote
1 answer

Default path to clone from, like CVSROOT?

A friend asked if it is possible to set the default place where users checkout Mercurial modules from? CVS has a the environment variable CVSROOT, which is used by default.
Martin Geisler
  • 72,968
  • 25
  • 171
  • 229
1
vote
2 answers

JQuery Loop Clone

Trying to get my 1 table row to automatically clone exactly 24 times and then get the "add row +" button to clone additional. Example can be found here: http://jsfiddle.net/CzZxf/17/ var uniqueIds = $("#math-table…
user1040259
  • 6,369
  • 13
  • 44
  • 62
1
vote
2 answers

How to call AJAX function after form elements are cloned using jQuery?

I have a dynamic form that can be cloned, using the SheepIt! plugin to clone my form elements. My form has a dynamic set of dropdown boxes, where the second dropdown box display a set of values based on the selection from the first dropdown box. My…
Michael
  • 2,276
  • 15
  • 49
  • 80
1
vote
1 answer

Data mining approach for detecting higher level clones in softwares

Im doing a project based on the topic above. Please let me know if there are any applications based on this topic already done in the past. If not Please let me know where I would make a starting as I hav a very little undersanding of the topic. The…
clu3Less
  • 1,812
  • 3
  • 17
  • 20
1
vote
2 answers

Freshly cloned hg repository shows files as modified (Windows)

I've freshly cloned a Hg repository on Windows XP and hg status reports a lot of (all?) files as Modified. What could be the reason? E:\myprojects\myproject>hg summary parent: 206:03856faec803 tip latest commit message branch: default commit: 78…
Mot
  • 28,248
  • 23
  • 84
  • 121
1
vote
1 answer

set input value clone

Here's what I have working: 3 textfields that are cloned with a math function A / B = C. Works perfectly. Problem: I'd like to set the textfield value "on keyup" of A, B, and C so that the value actually reads what's typed into the textfield. …
user1040259
  • 6,369
  • 13
  • 44
  • 62
1
vote
2 answers

Getting Error in while downloading Git Clone?

I am opening the terminal, writting the command as follows git clone url It says as Cloning into code.xyz.com... and I am getting error error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL…
Chatar Veer Suthar
  • 15,541
  • 26
  • 90
  • 154
1
vote
1 answer

jstree contextmenu CLONE ( as copy , paste , and rename ) in one action

I am working on contextmenu for jstree, and apparently needed a clone functionality in right click menu which will actually be simulation of copy , paste and rename, so that once user right clicks on an item and then clicks on clone, a node is…
NitinKumar.001
  • 179
  • 5
  • 17
1
vote
4 answers

cloning an object in Javascript maintaining instanceof

I want to clone an object in Javascript. I have: iPath = function () { this.heading = 0; this.path = []; }; loop = new iPath(); I know with jQuery I can do something like: cloneLoop = $.extend(true, {}, loop); but than assert(cloneLoop…
dr jerry
  • 9,768
  • 24
  • 79
  • 122
1
vote
4 answers

Add a line break after each element is cloned

$('.footnote').clone().appendTo('#allfootnotes').append('
'); I have a bunch of .footnote elements all through the page, at the bottom of the page I want to list all of the footnotes on the page. So each footnote will be cloned to #allfootnotes.…
android.nick
  • 11,069
  • 23
  • 77
  • 112
1
vote
1 answer

http://api.rubyonrails.org/ clone

I'd like to build a website very similar to http://api.rubyonrails.org/ is there any gem I can use for that? or anything else I can easily reuse? thanks zb
zbigniew
  • 71
  • 6
1
vote
1 answer

How do I duplicate a page fragment, is clone the answer?

I have a form in my page where the fields are being populated from ajax like dropdowns. Now I have a added a tab to the page as well. My second tab of the page will contain the same form fields and some additional ones. How do I duplicate my first…
Mike
  • 3,348
  • 11
  • 45
  • 80
1
vote
1 answer

Simple math function using a JQuery clone event

For each of my .cloned fields, I'd like to (txtA/txtB) = txtC Write out the answer to textfield C.
user1100603
  • 151
  • 1
  • 6
1 2 3
99
100