I have created ten textboxes and name them as "txt1,txt2,..tx t10"
(i.e just changing suffix by consecutive number).
Now I have to validate these ten textboxes on Submit event (Say..No textbox should accept alphabet).
I trying to use for loop to validate this i.e. trying to change the suffix of textbox name in each iteration.
[CODE=javascript]for(var i=1;i<=10;i++)
{
...
User Profile
Collapse
-
Validating 10 Textboxes using for loop
-
Thanks Ramanan Kalirajan
Regards
Srikanth -
-
my requirements is same as above(post ID 10, posted by "daitasri ") that's why i thought of pickup this code. but delete button is not working properly.
Thanks for reply
SrikanthLeave a comment:
-
Dosth i am not able to delete any row can u help me please?
am new to this scripts....Leave a comment:
-
How can i generate dynamic row in PHP
Hi Friends,
i have page with few options. i need to generate multiple rows in page dynamically. in single row i have three labels and three select boxes,
i need to get the number of row to be generated from user and need to generate those. Anyone can help in this issue?
Thanks,
Srikanth
No activity results to display
Show More
Leave a comment: