bonjour tout le monde,
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
<script language="javascript"> 
<!--
function controle(checkbox)
{
	tab = new Array(checkbox.length);
	for (var i=0; i<checkbox.length;i++)
	{
		if (checkbox[i].checked)
		{
			tab[i] = checkbox[i].value;
		}
	}
	e = tab.join(",");
	if(document.form2.submit.checked = true)
	{
		lien='maj_rub_prof.php?id=<? echo $id;?>&rub='+e; 
		window.location.href = lien;
		//alert(lien);
	}
}
-->
</script>
y a t il quelqu'un qui peut me dire pourquoi je ne peux pas aller à maj_rub_prof.php ?? alors que si je mets un alert, l alert marche???
merci d avance pour votre aide