PageSourceSearch

https://editions-johanet.net/js/fonctions.js

js editions-johanet.net collected 2026-10-02 18:38:49 UTC 2,369 bytes, 1 lines download raw bytes

1function quantitePlusPanier() {	$('.panier_ouv_qte_plus').on('click',function() {		idBt= $(this).attr('id');		idBt = idBt.substring(3);		$.ajax({		    url: 'include/panier-ajax.php',		    type: 'post',		    data: {		    	action : 'ajoute_qte_ouv',		    	id : idBt  		    },		    success: function(retour) {		    	$('#retourFonctions').html(retour);		    }		});					return false;	});}function quantiteMoinsPanier() {	$('.panier_ouv_qte_moins').on('click',function() {		idBt= $(this).attr('id');		idInput = 'qte' + idBt.substring(3);		idBt = idBt.substring(3);		if (parseInt($('#'+idInput).val())==1) {			if (confirm("Voulez-vous supprimer cet ouvrage du panier ?"))			{				$.ajax({				    url: 'include/panier-ajax.php',				    type: 'post',				    data: {				    	action : 'supp_ref',				    	id : idBt  				    },				    success: function(retour) {				    	window.location.href='panier.php';				    }				});			}		}		else {			if (parseInt($('#'+idInput).val())>1) {				$.ajax({				    url: 'include/panier-ajax.php',				    type: 'post',				    data: {				    	action : 'enleve_qte_ouv',				    	id : idBt  				    },				    success: function(retour) {				    	$('#retourFonctions').html(retour);				    }				});								}		}		return false;	});}function suppPanier() {	$('.panier_ouv_supp').on('click',function() {		idBt= $(this).attr('id');		idBt = idBt.substring(3);		if (confirm("Voulez-vous supprimer cet ouvrage du panier ?"))		{			$.ajax({			    url: 'include/panier-ajax.php',			    type: 'post',			    data: {			    	action : 'supp_ref',			    	id : idBt  			    },			    success: function(retour) {			    	window.location.href='paniers.php';			    }			});		}		return false;	});}function codePromo() {	$('.btZPromo').on('click',function() {		leCode = $('#lecodepromo').val();		if (leCode!='')		{			$.ajax({			    url: 'include/code-promo-ajax.php',			    type: 'post',			    data: {			    	action : 'code_promo',			    	code : leCode  			    },			    success: function(retour) {			    	$('#retourFonctions').html(retour);			    }			});			} else {			$('#errCodePromo').html('Vous devez entrer un code.');		}				return false;	});}function annuleCodePromo() {	$.ajax({	    url: 'include/code-promo-ajax.php',	    type: 'post',	    data: {	    	action : 'annule_code_promo'	    },	    success: function(retour) {	    	$('#retourFonctions').html(retour);	    }	});		}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.