Bonjour,

j'ai un problème concerne l'affichage il n'affiche rien lorsque je saisie un code erronée ou lorsque je saisie un code bon vous pouvez voir mon code
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$("#cod").blur(function(){
 
		if($('#cod').val()!= ""){
			var codCheck = $('#cod').val();
			var regExInvalidChars = /[^a-zA-Z0-9]+/;
			var isNotValid = regExvalidChars.test(codCheck);
			if (isNotValid) { 
								return false;
					}
		return true;}
 
		var dataInfo = { 	
				Disc : $(this).val()
 
			};	
 
		$.ajax({
			url: '/<?= Zend_Registry::get('Zend_Locale')->getLanguage() ;?>/def/reg/chet/',
			dataType: 'json',
			type: 'POST',
			data: dataInfo,
			success: function(data, textStatus, XMLHttpRequest){
				if(data.response == 'true'){
					alert('Code OK.' + data.msg);
				}else{
					alert('Code invalide ' + data.msg);
				}
			}
		});
 
	});
merci pour la réponse