I programmed the following:
$.post("helmscript.php", { voorhoofdomtrek: voorhoofdomtrek, leverancier: leverancier, categorie:categorie
}, func......
However, i need an if statement like this in the post function:
$.post("helmscript.php", { if (variableX == true) {voorhoofdomtrek: voorhoofdomtrek,} leverancier: leverancier, categorie:categorie
}, func......
But an if statement in the post function does not work. Could you guys help out?
Aucun commentaire:
Enregistrer un commentaire