how to validate dynamic textbox in jquery?
<p>I want to validate dynamic textbox using jquery.Textbox value should contain alphanumeric value and it should allow special characters Underscore(_).In my scenario i have two textbox such as eg.. Name and PhoneNumber in a row.it should be created dynamically based on user requirement.I should validate each field separately to find empty field.</p>

<p>code:</p>

<pre><code>if (_name == null || _name == '' || _name == undefined) {
                $("#lblNameError" + i).html('Please enter the  Name');
                isError = true;
            }
            //phone
            if (_phone== null || _phone== '' || _phone== undefined) {
                $("#lblphoneError" + i).html('Please entered the phone');
                isError = true;
            }
</code></pre>
