언어 설정

Menu
Sites
Language
Cannot copy text from Input box if its readonly

Cannot copy text from Input box if it is set as readonly. 

 

<input id="code" type="text" readonly="readonly" value="some value" >

By touching and holding on the input text is not showing option for select and copy the text.

We are doing Google authentication and need to copy authentication code from the browser for completing the authentication in the application. This is not possible  as the auth code displayed by google is read only.

Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

4 댓글
konduri sai swathi
Hi , It is not possible that way, try to get the value from javascript.
anfas ci
The requirement is to do Google Authentication from our application. As the application required to launch web browser to do the Google authentication, we are not able to get the authentication token directly. Please refer to the issue reported here : https://developer.tizen.org/forums/web-application-development/cannot-do-google-oauth-2.0-authentication As an alternate method we're planning to suggest the user to copy authentication token from the browser and paste it in to authentication form in the application, so that the application can complete the authentication process. Is there any other solution to make this work?
Lakshmi Grandhi
Hi Anfas, For child browser support, there is one thread forum kindly follow it https://developer.tizen.org/forums/web-application-development/child-browser-tizen
arvind sharma

Hello anfas ci, are you able to resolve your issue, i am in same situation from last two days and totaly stucked in this, can you provide me any tutorial or code how to do it. i am creating tizen web app using jquerymobile. 

Here is my asked question on stack code is also available there. please can you help me.

http://stackoverflow.com/questions/20089623/google-oauth-for-installed-apps-using-javascript.

Thankyou.