sending the number of rows......

Reply

Join Date: Jul 2005
Posts: 3
Reputation: ankur_md is an unknown quantity at this point 
Solved Threads: 0
ankur_md ankur_md is offline Offline
Newbie Poster

sending the number of rows......

 
0
  #1
Aug 9th, 2005
hi all
im adding rows to table by clicking add button.
These rows have fom elements in it.

It depends upon the user how many times he clicks the add button to add new row.

In the end all i want is to send the total number of rows added attached to a form.
Can anyone tell me how to do that.......

regards
ankur
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,267
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: 493
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: sending the number of rows......

 
0
  #2
Aug 9th, 2005
JavaScript, set up variable which will be inceased by 1, every click of your button.
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: Jul 2005
Posts: 3
Reputation: ankur_md is an unknown quantity at this point 
Solved Threads: 0
ankur_md ankur_md is offline Offline
Newbie Poster

Re: sending the number of rows......

 
0
  #3
Aug 16th, 2005
hi
the prob that im facing is ......

suppose the value of no. of rows is in variable 'rowno'

now im sending this to my server for processing by making text button n attaching that to table.
now on my server i retrieve the value from this text button........


now what is happening is that....
if the user add new row after the first.....then a new text field is created for him.
what i end up doin is that everytime user add new row i append a new text field.......im not able to remove the previous text field.....

Can antone help me with this.......

regards
ankur


when user add the rows for more than 1 times.....the text button is added
Reply With Quote Quick reply to this message  
Reply

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




Views: 1729 | Replies: 2
Thread Tools Search this Thread



Tag cloud for HTML and CSS
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC