Question: I want to build **jQueryMobile** app using **IndexedDB** technology for databases. While developing in web browser the app is working. How can I convert this app into native android app (using phonegap) and to keep the data from IndexedDB database? 
I know that location of my IndexedDB database is at:

```
C:\Users\<User Name>\AppData\Local\Google\Chrome\User Data\Default\IndexedDB\

```

So is there a way for my app to use IndexedDB at the mobile devices ?
For conversion I'am using [phonegap cloud](https://build.phonegap.com/apps) but the converted app does not have access to the database. I'am testing with Nexus 7 tablet. The app on my PC works great.

> 
> **EDIT 1**:
>  I'am testing with Google Nexus 7 tablet. Android version is 4.4.2 so i suppose that IndexedDB is supported on my device. The problem is that I don't have idea how to implement the file from the location above (what to do with it) while conversion, so that the database would be found on my device. (I'am using [phonegap cloud](https://build.phonegap.com/apps) for conversion). 
> 
> 
>

Answer: 
You can use .focus() to focus the input 

```
$(function () {
    $('#ss').focus();
});

```

[**DEMO**](http://jsfiddle.net/Kg6J3/)
You can use any of these options After Page Load. 

```
$('#ss').focus();

$('#ss').select();

$('#ss').trigger('focus');

$('#ss').trigger('click');

```

For Example:

```
$(document).ready(function(){
     $('#ss').trigger('click');
});  

```