You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<Title>Online Urdu Typing: JavaScript based UrduTextBox using Phonetic Keyboard</title>
<script src="urdutextbox.js"></script>
<script>
window.onload = myOnload;
function myOnload(evt){
MakeTextBoxUrduEnabled(txtBox);//enable Urdu in html text box
MakeTextBoxUrduEnabled(txtBox2);//enable Urdu in html text area
}
</script>
</head>
<body>
<h2>Now you can Write / Type Urdu Online on WebPages developed using HTML, PHP , JSP, classical ASP or Dot Net (ASP.NET)</h2><br>
Following are sample Urdu text boxes using JavaScript, the text box has been tested on diferent web browsers and works well on Mozilla FireFox, Google Chrome, Microsoft Internet Explorer , Apple Safari and Opera web browsers. <br><br>
A software programmer / developer only needs to add reference to javascript file called <a href="urdutextbox.js" target="_blank">urdutextbox.js</a> in their web pages and add ordinary text box using HTML. For details, have a look at source code of this web page to get the understanding of how to enable Urdu in HTML text box.<br><br>
<center>
Urdu Text Box <input id="txtBox" name="txtBox" type="text" dir="rtl" style="background-color:#CCFFCC;"><br><br>
Urdu Text Area (Type Urdu Here) -> <textarea id="txtBox2" name="txtBox2" dir="rtl" cols="50" rows="5" style="background-color:#CCFFCC;"></textarea>
</center>
<br><br>
<h4>The Urdu keyboard used to type Urdu in above textboxes is called <a href="http://www.ajsoftpk.com/urdubar/keyboard/up_keyboard.html" target="_blank">Urdu Phonetic Keyboard Layout</a>.</h4>