语言

Menu
Sites
Language
Virtual keyboard

Hi.

Is it possible to disable virtual keyboard in my application. I don't want it to appear when i focused in <div contantEditable='true'> <input> <textarea>.

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

6 回复
talari praveen kumar
Hi Use <input type="text" readonly="true"> to disable virtual keyboard
konduri sai swathi
Or you can even try the below code HTML :
<input type="text" class="input"/>
<textarea class="input"></textarea>
<div contenteditable="true" class="input">Hello</div>
JavaScript:
$(document).ready(function(){
	$('.input').focus(function() {
		$('.input').blur();
	});
});
Andrew Gudz
I still need the cursor to be in these elements. I tried a lot of css+javascript hacks - no result. Only on emulator i can turn on "Host keyboard" and this helps.
Marco Buettner
What will you do on this element?
Andrew Gudz
I have my own keyboard at the bottom and i need to insert inputted symbols right on cursor position.
Maksym

So how to disable keyboard?