Hi, I would like to use input from the user (mobilesearchbar1), add suffix to it (as hello), and saving it to local variable (locInputSuffix) using the following java script: var s = Tiggr('mobilesearchbar1'); localStorage.setItem('locInputSuffix', 's.val()+hello'); But it doesn't work. Any idea why...
Do you mean the following:
return '{"text":"'+value.name1+'","suffix":"'+value.name2+'"}';
And, you can drag only one JSON value. How the query know what is the second value?