[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

Cloning a div but with unique ids for all the div elements

Asked by sm_muks in JavaScript

Hello,

I am trying to clone an entire div wherein :-
-the div would consist of an outer table
-the outer table would consist of 4 <tr>
-one <tr> will have a select box
-second <tr> will have another table and so on...

I would like to clone the entire div complete with the fieldset and also be able to assign unique ids to each element of the div so that when I call my servlet,I will be able to do a request.getParameter() of all the individual values by referring to each element by its own unique id.

Could someone tell me how to achieve this?
[+][-]08/04/08 11:39 AM, ID: 22154850Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/04/08 02:08 PM, ID: 22156240Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/04/08 05:12 PM, ID: 22157241Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/04/08 05:33 PM, ID: 22157307Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89 / EE_QW_2_20070628