I've developed the following example in which I can get all the necessarily data:
Which works correctly.
So when I tried to run it in the following page:
It simply won't work!
The function faz() is called and only the first "alert" popup is called, the second one which should show what is returned by dadosDaTela() isn't generated, why is that?
I simply cant see any reason for it to be so, could anyone help me?