Close, but it is adding the child to the original parent, not the cloned parent
Main Topics
Browse All TopicsI have a patent element, a div with form elements within is that needs to be able to be cloned, which I have working properly.
Within that clone-able parent div is an additional form piece that needs to be able to be cloned as well, but still somehow tied to that parent.
I am new to JQuery and and getting confused. Would someone please be so kind as to explain to me where I am going wrong here and how I can fix this?
Thank you
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
The problem with this is that the submitted data does not tie itself to the proper parent
Here is what is passed:
[addDailyDealFormProductTi
[addDailyDealFormPrice] => 1.23
[addDailyDealFormShippingC
[addDailyDealFormDealURL] => http://www.dealurtl.com
[addDailyDealFormTrackingI
[addDailyDealFormProductDe
[addDailyDealFormAdditiona
[parentID] => 1
[addDailyDealFormAdditiona
(
[0] => looks like an egg
[1] => smells like an egg
[2] => tastes like an egg
[3] => 90 day manufacturer
[4] =>
[5] =>
)
'90 day manufacturer' was entered under a cloned parent, so it *should* show up as addDailyDealFormAdditional
Also, the title form the cloned parent didnt pass at all
Ok - last request *I promise*
Is there any way to name the elements with square brackets so they pass as one variable?
so name it LastAdditionalInfoItemValu
All elements that are cloneable should be named like this - is this possible?
(You've already earned an A grade)
Business Accounts
Answer for Membership
by: amit_gPosted on 2009-10-29 at 09:23:31ID: 25695333
Are you looking for something like this?
Select allOpen in new window