title: Finding the Control associated with ASP.NET validator using JQUERY or simple Javascript
body: <p>I've a page with few textboxes and their corresponding validators (ASP.NET validator).</p>
  
  <p>And clearly I can validate each of those validators from javascript by calling the function</p>
  
  <pre><code>Page_ClientValidate("myvalidators") 
  </code></pre>
  
  <p>where myvalidators is my validators group name</p>
  
  <p>The same way I can validate a specific validator using</p>
  
  <pre><code>ValidatorEnable(Page_Validators[0]);
  </code></pre>
  
  <p>which only checks that specific validator</p>
  
  <p>But my question is how can I find or figure out the control (Textbox) which is connected with that specific validator.</p>
  
  <p>That means a function which can return all the controls with a failed validator.</p>
  
  <p>Or more clearly, the function should return a collection object of controls where there corespnding validator is failed.</p>
  
  <p><strong>More description added</strong></p>
  
  <p>My scenario is to highlight the parent div  of the textbox where the validator failed. So if I get the texbox control object or the control arrays, I can just take each of its parent div and can highlight it.</p>