I’m doing some client side data in my H5 app.
All the JS is working fine, I have 30 questions that can be OK ou NOTOK and when is NOTOK it has a photo.
First I tried to assign using DIM
LP_NUM[key].value = item.id
LP_STATUS[key].value = item.status
LP_OBS[key].value = item.observacao
LP_FOTO[key].value = item.foto
icSubmit(“OK”,true);
but the js don’t recognize the DIM: LP_NUM[key]
Then I tried to pass in a big string L_JSON string(4000000)
L_JSON.value = JSON.stringify(respostas);
icSubmit(“OK”,true);
But it has only 255 caracters…
How can I pass big values from the client side to H5?