Problem with Sqlite in Android, when delete the record

I am facing problem, working with Sqlite. When I am deleting any record, following message showing :

Uncaught TypeError: Cannot read property ‘transaction’ of undefined. line 331 column 28

Need Help…

Click on the error message in the Chrome Debugger. It will display the line of code where the error is occurring.

This may give you a clue as to the problem - a value is undefined. If it does not help, post the line of code here.