SyntaxError: missing : after property id
webo-34
-
gardiendelanuit Messages postés 1772 Date d'inscription Statut Membre Dernière intervention -
gardiendelanuit Messages postés 1772 Date d'inscription Statut Membre Dernière intervention -
Problème après For
<script type="text/javascript">
window.addEvent('domready', function(){
var tableau=<?= json_encode($produit_pics) ?>;
var data = {
for(var i = 0; i < tableau.length; i++) {
var arrayItem = tableau[i];
alert(arrayItem['pict_filename']);
}
}
});
</script>
<script type="text/javascript">
window.addEvent('domready', function(){
var tableau=<?= json_encode($produit_pics) ?>;
var data = {
for(var i = 0; i < tableau.length; i++) {
var arrayItem = tableau[i];
alert(arrayItem['pict_filename']);
}
}
});
</script>
A voir également:
- SyntaxError: missing : after property id
- PIP install SyntaxError ✓ - Forum Python
- Syntaxerror: unexpected character after line continuation character - Forum Python
- Syntaxerror unicode error unicodeescape ✓ - Forum Python
- Uncaught SyntaxError: Unexpected identifier - Forum Google Docs
- Uncaught SyntaxError: Unexpected token ) - Forum Javascript