Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8533265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:55:24+00:00 2026-06-11T09:55:24+00:00

say i have a validation of email id using blur() event , im doing

  • 0

say i have a validation of email id using blur() event , im doing this :

$('#email').blur(function(){
    //make ajax call , check if duplicate email exist and if duplicate is there do :
    $('#email-error').html('duplicate email exisit');
});

however when i use blur() and if im on a input box , click somewhere else (blur event occurs) and if i switch to another tab and again come back to the tab(of the browser) my page freezes, can someone give me an alternative, to this ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T09:55:26+00:00Added an answer on June 11, 2026 at 9:55 am

    Instead of blur use .change function.The change event is sent to an element when its value changes.Your blur event or focusout event will unnecessary fire ajax request everytime your textbox looses focus whether the data has changed or not.

    $('#email').change(function(){
       //make ajax call , check if duplicate email exist and if duplicate is there do :
       $('#email-error').html('duplicate email exisit');
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say I have a user class setup with validation like this: [MetadataType(typeof(ssUserMetaData))] public
Say I have the following validation (using jQuery validation plugin) set up, var validator
Let's say I have a page using the Validation Plugin more or less as
I have a problem with the Microsoft EnterpriseLibrary validation framework. Let's say we have
Lets say have this immutable record type: public class Record { public Record(int x,
Say I have a Telerik MVC Grid, AJAX bound and I want to put
Hi I am using jquery 1.4.2 and jquery validate 1.7( http://bassistance.de/jquery-plugins/jquery-plugin-validation/ ) Say I
Say I have a method signature like this: protected override void Initialize(params object[] parameters)
right i have a form, it uses ajax to check the if all fields
In a model say Task , I have following validation validates_presence_of :subject, :project, :user,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.