Hello everyone,I need a help to back values from php to javascript...
Listen:
__hasInventory = true;
_iMatrix = [];
$.ajax({
url: 'index.php?acao=test',
dataType: 'script',
type: 'post',
data: {mode: 0},
success: function () {
If is all Ok with post method,I'd like it back with results passing PHP results to Javascript:
Something like:
_iMatrix[id]['descricao']
_iMatrix[id]['hp']
_iMatrix[id]['nome']
Can someone Help me please = (((((
THanks