I've a problem. I need to validate all fields on a div even if they aren't displayed...
- <form id="myform">
<div style="display:none">
<input type="text" name="test1">
</div>
<div>
<input type="text" name="test2">
</div>
<input type="submit">
</form> - <script type="text/javascript">
- $("#myform").validate();
- </script>
How i can do that? This was just an example but is how my problem is.
Thanks to everyone!