Hello DaniWeb forum users,
Thank you for reading my post.
I am trying to build a function that checks the content of the form..
My HTML website contains a dynamic number of elements (with a standard of 5 elements)
Each element contains 2 input text fields and a jqueri slider.
Lets call the text input fields A and B.
It is not required to fill all the elements.
What is required is that if A contains any value B may not me empty.
This is an element
<td>Woord</td><td><input class="woordveld" type="text" name="wordarray"></td><td><div class="slider"><div class="slider-range"></div><input class="amount" type="text" name="numberarray" size="1"></div></td>
My page contains 5 of them (in a table)
There is al add element button on the page as well this ad's an extra table.
With this element content.
On submit i want to check if for each A that contains something B is not empty.
so i can alert("") something to the user.
I already tried al lot and (g00gled a lot) and i still don't have any solution.
Can someone help me out?
Daniel van der Berg