My google virtual keyboard cant detect words. Help. Thanks a lot. I have 2 textbox and 1 submit button.

36 views
Skip to first unread message

Jia Ling Liang

unread,
Feb 12, 2012, 11:50:09 PM2/12/12
to Google AJAX APIs
My google virtual keyboard cant detect words. Help. Thanks a lot.

<script type="text/javascript" src="https://www.google.com/jsapi?
key=ABQIAAAATQbYz0FuXv3BgNpr4MYf8hSZFbggFCEknp_8re3MNkEBPmGKfRT9PKBTA7lUEKlqi5HPoOjkJ-
eHDQ"></script>
<script type="text/javascript">
google.load("elements", "1", { packages: "keyboard" });
function onLoad() {


var kbd = new
google.elements.keyboard.Keyboard([google.elements.keyboard.LayoutCode.ENGLISH],
['txtUsername']);

var kbd1 = new
google.elements.keyboard.Keyboard([google.elements.keyboard.LayoutCode.ENGLISH],
['txtPassword']);


}
google.setOnLoadCallback(onLoad);


<table style="width:100%;">

<tr>
<td class="style1" style="vertical-align: middle; text-
align: center;">
<table style="width:100%;">
<tr>
<td class="style3">
</td>
</tr>
<tr>
<td style="background-position: center center;
background-image: url('Images/Items/Login.png'); background-repeat: no-
repeat; height: 410px;">
<table style="width:100%; font-family:
Arial;">
<tr>
<td class="style2">
</td>
<td class="style2" >
<br /><br /> <br /><br /></td>
<td class="style2">
</td>
</tr>
<tr>
<td class="style2">
</td>
<td class="style2" rowspan="3" >
<asp:Panel ID="panelLogin"
runat="server" DefaultButton="btnLogin">
Username :

<asp:TextBox ID="txtUsername"
runat="server" ></asp:TextBox>

<br />
<br />
Password :
<asp:TextBox ID="txtPassword"
runat="server" TextMode="Password"></asp:TextBox>
<br />

<br />
<asp:Button ID="btnLogin"
runat="server" onclick="btnLogin_Click" Text="Login" style="height:
26px"/>
</asp:Panel>
Reply all
Reply to author
Forward
0 new messages