3

I'm making an App with Cordova-Phongap 1.9.0 on Android, using Jquery Mobile. I'm trying to make an input text forms like the followings example

<div data-role="fieldcontain">
<label for="name">Text Input:</label>
<input type="text" name="name" id="name" value=""  />
</div>

When i try it on the device or virtual device, the focus is on the input type, i see the virtual keyboard, but it doesn't work.

1
  • Can you upload your sample somewhere? Commented Jul 7, 2012 at 8:57

2 Answers 2

2

What worked for me was going to the stock index.css file and changing

-webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */

to

-webkit-user-select: text;                  /* prevent copy paste, to allow, change 'none' to 'text' */
Sign up to request clarification or add additional context in comments.

Comments

0

I had a very similar problems with form inputs using Android and Phonegap 1.9.0. In my case it was due to using a menu at the top of the page.

position:fixed;
z-index: 1;

Once I had removed this CSS the forms worked again (although my menu is no longer fixed as I wanted it to be...)

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.