HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers44/ledubtoernooi.nl/wwwroot/minikamp/css-js/ledub_en.js
// JavaScript Document

$(document).ready(function(){

	var orgVereniging = "Name of the club";
	var orgTeamnaam = "Team name";
	var orgVoornaam = "First name";
	var orgTussenvoegsel = "Preposition";
	var orgAchternaam = "Surname";
	var orgPostcode = "Zipcode";
	var orgAdres = "Address";
	var orgWoonplaats = "City";
	var orgTelefoonnummer = "Cell phone";
	var orgEmailadres = "E-mail";
	var orgBevestigingEmail = "Bevestig e-mailadres";
	$('#vereniging').focus(function() { value=$(this).val(); if($(this).val()==orgVereniging) { $(this).attr("value","");}});
	$('#vereniging').blur(function() { if($(this).val()=="") { $(this).val(orgVereniging);}	});
	$('#teamnaam').focus(function() { value=$(this).val(); if($(this).val()==orgTeamnaam) { $(this).attr("value","");}});
	$('#teamnaam').blur(function() { if($(this).val()=="") { $(this).val(orgTeamnaam);}	});
	$('#voornaam').focus(function() { value=$(this).val(); if($(this).val()==orgVoornaam) { $(this).attr("value","");}});
	$('#voornaam').blur(function() { if($(this).val()=="") { $(this).val(orgVoornaam);}	});
	$('#tussenvoegsel').focus(function() { value=$(this).val(); if($(this).val()==orgTussenvoegsel) { $(this).attr("value","");}});
	$('#tussenvoegsel').blur(function() { if($(this).val()=="") { $(this).val(orgTussenvoegsel);}	});
	$('#achternaam').focus(function() { value=$(this).val(); if($(this).val()==orgAchternaam) { $(this).attr("value","");}});
	$('#achternaam').blur(function() { if($(this).val()=="") { $(this).val(orgAchternaam);}	});
	$('#postcode').focus(function() { value=$(this).val(); if($(this).val()==orgPostcode) { $(this).attr("value","");}});
	$('#postcode').blur(function() { if($(this).val()=="") { $(this).val(orgPostcode);}	});
	$('#huisnr').focus(function() { value=$(this).val(); if($(this).val()==orgHuisnr) { $(this).attr("value","");}});
	$('#huisnr').blur(function() { if($(this).val()=="") { $(this).val(orgHuisnr);}	});
	$('#adres').focus(function() { value=$(this).val(); if($(this).val()==orgAdres) { $(this).attr("value","");}});
	$('#adres').blur(function() { if($(this).val()=="") { $(this).val(orgAdres);}	});
	$('#woonplaats').focus(function() { value=$(this).val(); if($(this).val()==orgWoonplaats) { $(this).attr("value","");}});
	$('#woonplaats').blur(function() { if($(this).val()=="") { $(this).val(orgWoonplaats);}	});
	$('#telefoonnummer').focus(function() { value=$(this).val(); if($(this).val()==orgTelefoonnummer) { $(this).attr("value","");}});
	$('#telefoonnummer').blur(function() { if($(this).val()=="") { $(this).val(orgTelefoonnummer);}	});
	$('#emailadres').focus(function() { value=$(this).val(); if($(this).val()==orgEmailadres) { $(this).attr("value","");}});
	$('#emailadres').blur(function() { if($(this).val()=="") { $(this).val(orgEmailadres);}	});
	
	$('input').change(function() { $(this).removeClass('error');	});
});