brown.33 wrote:
But if we apply prepend for $j("#begin_947").clone().prepend($j
('#end_947')), it is deleting the entire end_947 element.
Can somebody explain me, why it is happening like this.

Do you really mean the following?:

    $j("#begin_947").prepend($j('#end_947').clone());

This says, "Make a clone of end_947, and prepend it before begin_947." Yours says, "Make a clone of begin_947, and prepend end_947 before it" (without putting the clone into the DOM.)

Cheers,

  -- Scott

Reply via email to