//VOICI LA FONCTION
function showinfo(id)
{
alert(id);
var etatdiv = document.getElementById(id).style.display;
if(etatdiv == "block")
{
document.getElementById(id).style.display = "none";
return;
}
elseif(etatdiv == "none")
{
document.getElementById(id).style.display = "block";
return;
}
}
//VOICI LE CODE APPELEUR AINSI QUE LE DIV
<td><div align="center" class="login" style="padding:3px"><a href="#" onclick="javascript:showinfo(<?=$activity['activity_perso_id']?>);">+</a></div></td>
</tr>
<tr>
<td colspan="10">
<div id="<?=$activity['activity_perso_id']?>" style="border:#000099 dashed ; border-width:1px ; margin:10px ; display:none">
<table cellspacing="0" width="100%">
Merci d'avance pour votre aide