How to get text from TextField using Hinkhoj API

Hinkhoj APIs (http://www.hinkhoj.com/api) can be used for displaying hindi input taking textboxes.

How to get text from TextField using Hinkhoj API

पोस्टद्वारा Admin » शनि अगस्त 08, 2009 11:10 am

Let define a textfield using API function:
CreateHindiTextBox("id1");
Above will create text box with name and id as "id1".

Let say you want to access the text from above text box. Use below code inside JavaScript Function.
var textBox= document.getElementById("id1");

var hindiText="";
if(textBox!=NULL)
{
hindiText=textBox.value;
}
प्रयोगकर्ता का निशान
Admin
 
पोस्टें: 72
शामिल हुये: वृहस्पति अगस्त 09, 2007 9:49 pm

Return to Hinkhoj API related problems/suggestions

Who is online

Users browsing this forum: कोई पंजीकर्त सदस्य नही and 1 guest

Untitled document
cron