|
<html> <head> <script src="http://www.hinkhoj.com/common/js/keyboard.js"></script> <link rel="stylesheet" type="text/css" href="http://www.hinkhoj.com/common/css/keyboard.css" /> </head> <body> Text Box1:<br> <script language="javascript"> CreateHindiTextBox("id 1"); </script> </html> |
|
Text Box1: |
|
<html> <head> <script src="http://www.hinkhoj.com/common/js/keyboard.js"></script> <link rel="stylesheet" type="text/css" href="http://www.hinkhoj.com/common/css/keyboard.css" /> </head> <body> Text Box1:<br> <script language="javascript"> CreateCustomHindiTextBox("id 1","नमस्कार संसार",40,true); </script> </html> |
|
Text Box1: |
|
<html> <head> <script src="http://www.hinkhoj.com/common/js/keyboard.js"></script> <link rel="stylesheet" type="text/css" href="http://www.hinkhoj.com/common/css/keyboard.css" /> </head> <body> Text Box1:<br> <script language="javascript"> CreateCustomHindiTextBox("id 1","Text Box 1",49,true); </script> Text Box2:<br> <script language="javascript"> CreateCustomHindiTextBox("id 2","Text Box2",70,false); </script> </html> |
|
Text Box1: Text Box2: |
function CreateHindiTextArea(elementId)
{
//
}
where elementId is id of TextArea element. By default it have 2 rows and 50 columns.
<html>
<head>
<script src="http://localhost/hinkhoj/keyboard.js"></script>
<link rel="stylesheet" type="text/css"
href="http://www.hinkhoj.com/common/css/keyboard.css" />
</head>
<body>
Text Box1:<br>
<script language="javascript">
CreateHindiTextArea("text area id 1");
</script>
</html>
|
Text Area : |
Use the function below to display TextArea with custom settings:
function CreateCustomHindiTextArea(elementId,defaultValue,columns,rows,showHelp)
{//
}
Where defaultValue is default value shown in TextArea.
columns is number of columns in textarea
rows is number of rows in textarea/
showHelp will display help if "true" is passed.Pass "false" if you don't want the help box.
<html>
<head>
<script src="http://www.hinkhoj.com/common/js/keyboard.js"></script>
<link rel="stylesheet" type="text/css"
href="http://www.hinkhoj.com/common/css/keyboard.css" />
</head>
<body>
Text Box1:<br>
<script language="javascript">
CreateCustomHindiTextArea("id 1","नमस्कार संसार",90,5,true);
</script>
</html>
|
Text Area : |