Changing target input field (anonymous, no ID) on the fly.
Text is streamed to the field last focused.
Source:
JavaScript Virtual Keyboard
By Dmitry Khudorozhkov
Arabic customization by Khaled Al-Shamaa
<script type="text/javascript" src="../sub/js/vkb_implement.js"></script>
<script type="text/javascript" src="../sub/js/vkboard.js"></script>
<input dir="rtl" size="40" onkeyup="getCaretPositions(this);" onclick="getCaretPositions(this);" /><br /><br />
<textarea dir="rtl" rows="5" cols="40" onkeyup="getCaretPositions(this);" onclick="getCaretPositions(this);">
</textarea><br /><br />
<p><a href="javascript:keyb_change()" onclick="javascript:blur()">Keyboard [show|hide]</a></p>
<div id="keyboard"></div>