944,165 Members | Top Members by Rank

Ad:
Aug 9th, 2005
0

sending the number of rows......

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ankur_md is offline Offline
3 posts
since Jul 2005
Aug 9th, 2005
0

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

JavaScript, set up variable which will be inceased by 1, every click of your button.
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,659 posts
since Dec 2004
Aug 16th, 2005
0

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

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ankur_md is offline Offline
3 posts
since Jul 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Page redirecting for no reason
Next Thread in HTML and CSS Forum Timeline: Java is causing my IE to be very slow





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC