I have a html table where the rows are being added dynamically by a javascript function. I have a select box to select the product name in each row. Its working fine.
Now I want to validate the selectbox. I got no clue how to do it. The values in the textboxes shouldn't be selected more than once in the upcoming rows.
I want to show an alert msg like "The product you selected is already selected" onSelect and change the selected value to --Select--- .
See it in action here