In previous articles I explained integrate Facebook login authentication, integrate twitter login authentication, jQuery randomly change color of div and many articles relating to jQuery, asp.net. Now I will explain how to implement virtual keyboard using jQuery UI Library in asp.net.
|
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>jQuery
Virtual Keyboard Example</title>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/ui-lightness/jquery-ui.css"
rel="stylesheet"
/>
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<link href="css/keyboard.css"
rel="stylesheet"
/>
<script type="text/javascript"
src="js/jquery.keyboard.js"></script>
<script src="js/jquery.keyboard.extension-typing.js"
type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function
() {
$('#txtkeyboard').keyboard({
autoAccept:true
})
.addTyping();
$('#txtNumkeyboard').keyboard({
layout: 'num',
restrictInput: true,
preventPaste: true,
autoAccept: true
})
.addTyping();
});
</script>
</head>
<body>
<table>
<tr>
<td><b>Keyboard Text:</b></td><td> <input type="text"
id="txtkeyboard"
/></td>
</tr>
<tr>
<td><b>Numberpad Text:</b></td>
<td><input type="text"
id="txtNumkeyboard"
/></td>
</tr>
</table>
</body>
</html>
|
|
If you enjoyed this post, please support the blog below. It's FREE! Get the latest Asp.net, C#.net, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email. |
|||
Subscribe by RSS
Subscribe by Email
|
|||
|
|


Subscribe by RSS
Subscribe by Email
9 comments :
Nice one sir
hi ,,, good work ,, please help me >
my problem is : how to insert HTML editor in asp.net (vb) page .. and this "HTML editor" must has a image and file upload plugin from desktop.
Good one sir...
Thanks sir...very very useful..but it could be more helpful if u give example for a login page such as loginId and password...plzzz give this
hii suresh,
can u please help me that when an user registers with me i need to send a messege to him through mobile regarding ui,password
Nice one for financial domain.
Nice one for financial domain.
nice job sir
nice job sir