MemoryRefresh!

Get all elements



Questions Answers 0%

Pages   0 from 18
Questions   0 from 23

Reset




<script type='text/javascript'> $(document).ready(function() { $('input').each(function(index) { $(this).click(function(){ if ($(this).val() != "Salveaza") $(this).val(''); }); }); }); function validate() { var valid = true; $('input, select').each(function(index) { if($(this).val() == 0 || $(this).val() == "") { valid = false; } }); if (valid == false) { alert("Completati toate campurile!"); } return valid; } </script>
Questions

Related pages

Form add element !
Input set value !
Two select related !
Get all elements !
Checkbox checked !
Dinamicaly add element !
Set get value !


0% 100%
 
 
0 pages 18 pages
No questions


<script type='text/javascript'> $(document).ready(function() { $('input').each(function(index) { $(this).click(function(){ if ($(this).val() != "Salveaza") $(this).val(''); }); }); }); function validate() { var valid = true; $('input, select').each(function(index) { if($(this).val() == 0 || $(this).val() == "") { valid = false; } }); if (valid == false) { alert("Completati toate campurile!"); } return valid; } </script>



More from Jquery

Attributes
Data
Effects
Window
Element
Basics
Ajax
Form
Uncategorized


More from Programming

Php
jQuery




Powered by minte9.com