<form id="form1" runat="server"> <div> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <table> <tr> <td> <cc1:Editor ID="Editor1" runat="server" ActiveMode="Html" /> </td></tr></table> <script language="javascript" type="text/javascript"> <big>var pph = new PramukhPhoneticHandler(); pph.convertToIndicIME("Editor1", document.getElementById('Editor1'), 'gujarati'); pph.convertToIndicIME("TextBox1", document.getElementById('TextBox1'), 'gujarati'); </big> // setToggleKey function is optional. The keycode for F12 key is 123. It means that // by pressing F12, user can toggle between selected Indic Language and English. Default is also F12. // You can pass 115 instead of 123 for changing a toggle key to F4. // pph.setToggleKey(123); </script> <%--<script type="text/javascript" language="javascript"> var pph = new PramukhPhoneticHandler(); pph.convertPageToIndicIME('devanagari'); </script> --%> </div> </form> </body> </html>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)