Switch to full style
JQuery Examples
Post a reply

Show hint when focus on html element using JQuery

Fri Jan 11, 2013 10:03 pm

Show hint when focus or mouse-over on text input field using JQuery
javascript code
<html>
<head>
<title>Show hint when mouse-over or focus on text input field</title>

<!--
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js">
</script>
Note you can download the JQuery package instead of using Google version. -->
<script src="jquery-1.8.3.js"></script>
<script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css" />
<style type="text/css">
#myTabs,#tabOne
{
font-weight:bold;
background:#1314C1;
padding:0px;
color:Yellow;
}
</style>
<script>
$(function() {
$( document ).tooltip();
});
</script>
<style>
label {
display: inline-block;
width: 5em;
}
</style>
</head>
<body>

<p><label for="Email">Your Email:</label>
<input id="Email" title="Carefully Please Enter your email here" /></p>



</body>
</html>




Post a reply
  Related Posts  to : Show hint when focus on html element using JQuery
 removing focus border from a HTML element     -  
 Get the position of HTML element using JQuery     -  
 checking if a HTML element is visible or hidden under JQuery     -  
 click,double click,focus,blur and hover actions in JQuery     -  
 Show slider Bar using JQuery     -  
 Show Spinner using JQuery     -  
 Show Progress Bar using JQuery     -  
 Show popup dialog using JQuery     -  
 Show Tabs Panel using JQuery     -  
 Show loading image from JQuery     -  

Topic Tags

JQuery UI