you can use focusout and blur events with jquery for losing focus from your textbox.
you can use jquery function like this..
$("#idOfTextField").blur(function(){
//your code
});
see this if it helps..
More Related Contents:
- Change class value javascript in event onclick?
- best tools for theme design? [closed]
- Css set size of elements in array dynamically [closed]
- How can I make my header smaller if i will scroll down the webpage [closed]
- Using jQuery to center a DIV on the screen
- Height equal to dynamic width (CSS fluid layout) [duplicate]
- How to use jQuery to wait for the end of CSS3 transitions?
- jQuery trigger file input
- jQuery: Get height of hidden element in jQuery
- Set timeout for ajax (jQuery)
- Keep overflow div scrolled to bottom unless user scrolls up
- Accessing a CSS custom property (aka CSS variable) through JavaScript
- Get a CSS value from external style sheet with Javascript/jQuery
- Changing width property of a :before css selector using JQuery [duplicate]
- Dashed border animation in css3 animation
- :touch CSS pseudo-class or something similar?
- CSS3-Animate elements if visible in viewport (Page Scroll)
- How to use javascript conditionally like CSS3 media queries, orientation?
- How to create a responsive image that also scales up in Bootstrap 3
- Fullpage.js. Adding a scroll delay
- Check if element is between 30% and 60% of the viewport
- How to check if css value is supported by the browser?
- How do I make a move up and down when I’m scrolling the page?
- How to show live preview in a small popup of linked page on mouse over on link?
- Fade background image in and out with jQuery?
- Convert dropdown to selection boxes with color and trigger drop down action
- How do I find which JavaScript is changing an element’s style?
- How to Bootstrap navbar static to fixed on scroll?
- How to use pagination on HTML tables?
- How can I reorder elements with JavaScript?