ahmet7661733
Posts: 0
Joined: Sun Jul 26, 2015 10:50 am

Get the found word from a Database service call in Javascript.

Hi,
I have a sentence with couble of words, Also I have a database table with 500 words, I read the sentence and want to know which words are included in the database table (of 500 words). I use java script, in a loop I want to display each found wordt with a allert. In Java script I used service call to the database and with a check (if data.length 0) on SUCCESS I know If I found a word. How do I know Which word is found? data.SOMEThing ??? Please help.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Get the found word from a Database service call in Javascript.

Hello Ahmet,

1) Do you always get all items from DB or you search data in DB?
2) Could you send us screenshots with response parameters of that service?
3) Also service's response would be helpful.
4) Do you need search text in this data locally on the device?
5) How do I know Which word is found? data.SOMEThing ???
It depends on data structure of service's response

Return to “Issues”