I was working on an Android app project using Cordova which in I had a simple Sqlite database.
--------------------
ID | Name | Num
So after 3 days of trying, I finally got it done and I said it's better to share it with people who are interested in using Sqlite database in Cordova and PhoneGap. So here is the answer:
These scripts goes on tag:
That's it! Now you can add, edit, delete and search through your data in Sqlite database using Cordova.
Hope it be helpful for the ones who are interested.