javascript clone objects

Reply

Join Date: Feb 2007
Posts: 1
Reputation: amodam007 is an unknown quantity at this point 
Solved Threads: 0
amodam007 amodam007 is offline Offline
Newbie Poster

javascript clone objects

 
0
  #1
Feb 23rd, 2007
hello all

i am new to asp and javascript

i am creating a page in which user enters the id,name,address and he enters his family detail's below selecting relation and name of person
if he wants to add more personal details he can click on add more buttton will give the new cloned row

now i want to store the details
1> how can i identify that how many relations user has selected ?
2> how can i save these relations , by identifying the details fields

i tried to save relations in table but it creats one record and save with comma ( , ) seperator and just creates one record even if i have more than one relation created

pls help me out

thanks in advance
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,415
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 256
Moderator
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Maven

Re: javascript clone objects

 
0
  #2
Feb 23rd, 2007
This forum is about neither asp nor JavaScript.

JavaScript != Java.

Please find a forum dedicated to either asp and/or JavaScript and ask your question there. You will get much better results.
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,208
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 486
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: javascript clone objects

 
0
  #3
Feb 23rd, 2007
I already sent a request to move this post to ASP section. It can be that admin/moderator is not around so post wasn't moved
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,415
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 256
Moderator
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Maven

Re: javascript clone objects

 
0
  #4
Feb 23rd, 2007
Originally Posted by peter_budo View Post
I already sent a request to move this post to ASP section. It can be that admin/moderator is not around so post wasn't moved
Thank you, but I still find it important to tell this to the original poster, so that, hopefully, (s)he does not make the same mistake in the future.

;-)
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC