View Single Post
Old 01-25-2018, 02:07 AM   #4
lollo
Human being with feelings
 
Join Date: Jun 2017
Posts: 37
Default

Hi again,

I'm sorry, yesterday I'm been writing by my phone and it doesn't suitable to write long text.

As I said, I tried to set the key'value, but I can not to see the reply from Reaper.
I used:

function wwr_onreply(results) {
var ar = results.split("\n");
var x;
for (x=0;x<ar.length;x++)
{
var tok = ar[x].split("\t");
$('#mydiv').html(ar[0])
}
}

and use this function to call the function

wwr_onreply('GET/PROJEXTSTATE/storage/text')

but in mydiv returns the string as I wrote (GET/PROJEXTSTATE/storage/text)
and not "EEEE" as I had set.

Another test has been:

function wwr_onreply(results) {
var ar = results.split("\n");
var x;
for (x=0;x<ar.length;x++)
{
var tok = ar[x].split("\t");
for (y=0;y<tok .length;y++)
{
$('#mydiv').append(tok[y])
}
}
}

but the result has been the same.
lollo is offline   Reply With Quote