Skip to main content Help Control Panel

Login   A+   A-

Community «   Le forum «   Nouvelles fonctions «   Utilitaires «  

Comment: Utilitaires

<< Previous Next >>
Je colle le code d'un exemple, et voilà ce que cela donne, cela ne marche pas.....








Pages Jaunes




fArray = new Array;
function fClear(fId)
{
fId=fId.id;
if(!fArray[fId]){document.getElementById(fId).value="";fArray[fId]="1";}
//alert(fId);
}

function fClearAll()
{
if(!fArray["quoi"]){document.getElementById("quoi").value="";}
if(!fArray["qui"]){document.getElementById("qui").value="";}
if(!fArray["localite"]){document.getElementById("localite").value="";}
if(!fArray["adresse"]){document.getElementById("adresse").value="";}
if(!fArray["departement"]){document.getElementById("departement").value="";}
}

This comment has inspired:

by Chacha on Jan. 26 2007