how to make sure that the value in a dynamic textbox is not empty using javascript
<p>I have nearly 80 textbox controls being created dynamically on the change of a dropdownlist item.</p>

<p>I need to make sure that none of these textboxes are empty when the user clicks on add item button.</p>

<p>I am aware of document.getElementbyid , however it does not serve my purpose as I will not know the id of the textboxes. The ids of the textboxes created start with "txt".</p>

<p>Can anyone paste a sample code of how to achieve this.</p>

<p>Thanks in advance.</p>
