ajax bei download raus
This commit is contained in:
@@ -5,8 +5,12 @@ jQuery(document).ready(function($) {
|
||||
e.preventDefault(); // this disables the submit button so the user stays on the page
|
||||
|
||||
// Validation
|
||||
let code = $('input[name=code]').val();
|
||||
|
||||
if ( code.length < 8 ) {
|
||||
|
||||
jQuery('#resp').html('Code ist zu kurz!');
|
||||
|
||||
} else {
|
||||
|
||||
data = {'code' : $('input[name=code]').val(),
|
||||
|
Reference in New Issue
Block a user