1

Want to update data of row in table.

I have the ID of table,to which I need to set another value.

I have text field, I need to add / update value which is written in text field.

I am using upgap sqlite .

3
  • i am using this.. tx.executeSql('UPDATE CaseTable SET CaseName ="'+$('#documentCaseName').val()+'"+ WHERE id = ' + ROW_ID); Commented Jun 20, 2013 at 9:57
  • and what u have as response? Commented Jun 20, 2013 at 10:09
  • 1
    Put an answer and mark it as solved.It can help somebody else someday Commented Jun 20, 2013 at 10:18

1 Answer 1

1
tx.executeSql('UPDATE CaseTable SET CaseName = "' + caseName + '",CaseDate = "' + caseDate + '",TextArea = "' + caseTextArea + '" WHERE id = ' + ROW_ID); 
Sign up to request clarification or add additional context in comments.

Comments