Category

Input box hints

Here's the solution for the case when you want to create nice input hints when there's no focus in the input or on lose focus action.
Example:

Source code: Plugin;
Execution snippet:

<script type="text/javascript">
$(document).ready(function() {
  $('input:text').hint();
});
</script>
<style type="text/css">
input.input-hint {
color: #aaa;
font-style: italic;
}
</style>

Source: http://remysharp.com/2007/01/25/jquery-tutorial-text-box-hints/

Comments

This piece of writing is

This piece of writing is incredibly informative and I liked it a lot. I will be coming back to this blog in the near future. I found lots of appealing information here. payday loan

Thank you

Thank you

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <em> <strong> <cite> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.
© 2008-2009. Konstantin Artemov