Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 14th, 2003, 08:37 AM
Authorized User
Join Date: Jun 2003
Location: , VA, .
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trigger a JS function on loss of focus

I have a Spell Check function that I want triggered everytime someone leaves a text box field. The user will click in the text box and type some data and once they click out of the text box, the JS function SpellCheck() should run. How can I accomplish this? I know how to make a function gain focus and think my solution involves this.


Thans for any help.
Reply With Quote
  #2 (permalink)  
Old July 14th, 2003, 09:00 AM
Authorized User
Join Date: Jun 2003
Location: , VA, .
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts

I found my answer. I just use onblur="SpellCheck()" inside the textarea field.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling JS Function from VS? Ron Howerton Javascript 15 September 17th, 2008 02:35 PM
HTML anchor and JS focus not working together sudhirgk Javascript 0 December 18th, 2007 06:29 PM
passing empty parameters to a js function crmpicco Javascript How-To 0 September 20th, 2005 10:16 AM
use a JS-variable/function inside a tag cybermaarten Javascript 3 January 20th, 2005 05:42 AM
[JS] The onLoad doesn`t trigger ! prem52k Javascript 4 January 12th, 2004 09:32 PM

All times are GMT -4. The time now is 02:08 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.