Posted on: 6/20/2015 3:12:51 PM | Views : 669

Hi,
I have a few rows that each have the same prefix per row but only the suffix to and from change.
I want to add for each textbox javascript validation using customvalidation as I don't want to have multiple validation controls.
The To textbox values must be bigger than the From textbox per row.
None of the fields are required.
If I enter a from value I don't have to also enter a to value and vice versa.
The range is 0-100.
I need to write one function for all the rows (don't want to write multiple functions) and each customvalidator will use the same function.
Now, I need to identify the corresponding textboxes per row so I can compare the values . 
My boss told me to use a javascript function with sender and args. I tried doing it but I am not able to get results.
Please help.
Thanks

<table class="style1"> <tr> ...

Go to the complete details ...