Insert the data in phonegap databse table?
===

In my application, i want to insert the value in the table. i have created the databse in **onDeviceReady()** method in the **index.html** file.

    mydb = window.openDatabase("appDb", "1.0", "Test DB", 1000000);

Now i have one signup screen and there in the signup screen i have submit button. So if i click the submit button, all the details should store in the database means in the table..So in the controller, i am writing the button event,

         onSubmitButtonTap : function(button, e, options) {
            
            storeCustomerDetails();
    }


Now my question is, how can i insert the values from my controller to the database??  I followed the link: [Phonegap DB Link][1]

Please help..


  [1]: http://docs.phonegap.com/en/1.0.0/phonegap_storage_storage.md.html#openDatabase