Documente Academic
Documente Profesional
Documente Cultură
http://www.jomsocial.com/overview/introduction.html http://www.daniweb.com/web-development/php/threads/41147/reading-file-names-from -a-folder Submitting a Form in Jquery View Demo List Back To Tutorial Jquery Code $(document).ready(function(){ $('#targets').submit(function() { var error=1; if(error){ alert("Error Occured.Cannot Submit the Form"); return false; }else{ return true; } }); });
http://www.phpfreaks.com/forums/index.php?topic=322110.0 http://blog.webwizo.com/2011/09/10/insert-multiple-uploaded-files-entry-into-dat abase-in-php-using-uploadify/ http://www.web-max.ca/PHP/ http://www.youtube.com/watch?feature=player_embedded&v=ImirOX73atc#! http://blog.webwizo.com/2011/06/22/upload-multiple-files-in-php-with-uploadify/ http://blog.webwizo.com/2011/09/10/insert-multiple-uploaded-files-entry-into-dat abase-in-php-using-uploadify/ http://www.phphq.net/scripts.php?script=phUploader#phUploader http://www.phpro.org/tutorials/Creating-A-PHP-Application.html http://www.devshed.com/c/a/MySQL/Working-with-User-Models-in-PHP-and-MySQL/1/ http://netbeans.org/kb/docs/php/wish-list-lesson1.html http://speckyboy.com/2011/02/17/getting-started-with-crud-in-php/ HTML Code <form id='targets' action='http://www.innovativephp.com' method='post' > <input type='text' name='test_field' id='test_field' /> <input type='submit' value='Save' />
</form> http://osc4.template-help.com/wt_30724/index.html#tab2 password strength $(document).ready(function(){ $('#password').keyup(function() { //$('#password_error_msg').html('').parent().hide(); var password = $('#password').val(); if(password.length < 6){ $('#password_error_msg').html(" Weak "); $('#password_meter').css('background-color','#C61515'); $('#password_meter').css('width','25%'); $('#password_error_msg').parent().show(); }else{ var regex_simple = /^[a-z]$/; var regex_capital = /^[A-Z]$/; var regex_numbers = /^[0-9]$/; var var var var simple_status capital_status number_status status_count = = = = '0'; '0'; '0'; '0';
for(i=0;iExcellent ); $('#password_meter').css('background-color','#eee'); $('#password_meter').css ('width','25%'); $('#password_error_msg').parent().show(); break; case 1: $('#pa ssword_error_msg').html(" Good "); $('#password_meter').css('background-color','#F9B7B7'); $('#password_meter') .css('width','55%'); $('#password_error_msg').parent().show(); break; case 2: $( '#password_error_msg').html(" Strong "); $('#password_meter').css('background-color','#A8E65E'); $('#password_meter') .css('width','75%'); $('#password_error_msg').parent().show(); break; case 3: $( '#password_error_msg').html(" Excellent "); $('#password_meter').css('background-color','#4DBA36'); $('#password_meter') .css('width','100%'); $('#password_error_msg').parent().show(); break; } } }); $ ('#targets').submit(function() { var error=0; $('#password_error_msg').html(''). parent().hide(); var password = $('#password').val(); if(password == ''){ error = 1; $('#password_error_msg').html("Password cannot be empty"); $('#password_err or_msg').parent().show(); }else if(password.length < 6 ){ error = 1; $('#passwor d_error_msg').html("Your Password is Weak"); $('#password_error_msg').parent().s how(); } if(error){ return false; }else{ return true; } }); }); HTML Code <form id='targets' action='http://www.innovativephp.com' method='post' > <ul> <li ><div class='label_col'>Password</div><div class='field'> <input type='text' name='test_field' id='password' /></div></li> <li class='error_msg' > <div class='label_col'> </div><div class='error_field' id='password_error_msg'> </div> </li>
<li><div class='label_col'> </div> <div class='field'><input type='submit' value='Save' /> <input type='reset' value='Reset' class='reset'/></div></li> </ul> </form>
submit images $(document).ready(function(){ $('#targets').submit(function() { var error = 0; var name = $('#name').val(); if (name == '') { error = 1; alert('Name cannot be empty'); } if(error){ return false; }else{ return true; } }); }); HTML Code <form id='targets' name='targets' action='http://www.innovativephp.com' method=' post' > <input type='text' name='test_field' id='name' /> <input type='image' src='http://www.innovativephp.com/uploads/skype.png' val ue='Save' id='save'/> </form>