Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1074 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1074 Rev 1075
Line 4... Line 4...
4
	var AUTOCOMPLETION_ELEMENTS_NBRE = 50;
4
	var AUTOCOMPLETION_ELEMENTS_NBRE = 50;
5
	var URL_SERVICE_AUTOCOMPLETION_NOM_SCI = "<?=$url_base_completion_noms_sci?>";
5
	var URL_SERVICE_AUTOCOMPLETION_NOM_SCI = "<?=$url_base_completion_noms_sci?>";
6
	var REFERENTIEL = "<?= Registre::get('parametres.referentiel');?>";
6
	var REFERENTIEL = "<?= Registre::get('parametres.referentiel');?>";
Line 7... Line 7...
7
	
7
	
-
 
8
	$(document).ready(function(){
8
	$(document).ready(function(){
9
		console.log($('input[type=text]').val());
9
		if($('input[type=text]').val() != '') {
-
 
10
			console.log($('input[type=text]').val());
10
		if($('input[type=text]').val() != '') {
11
			$('#bloc_recherche_av').hide();
11
			$('#bloc_recherche_av').hide();
12
		}
12
		}
13
		$('#recherche_av').click(function(event) {
13
		$('#recherche_av').click(function(event) {
14
			$('#bloc_recherche_av').slideToggle(); 
14
			$('#bloc_recherche_av').slideToggle();