Investigating Zoho Mail account autocomplete feature

I had a quick inspiration to check out the code Zoho Mail uses to implement the autocomplete feature that amazed me. This allowed me to get familiar with Firebug Javascript debugger.
On Settings->Common Settings->Mail accounts the field “Email ID” calls “confAccount(this)” when an /onblur/ event is triggered on it.
This little function checks whether the email is a valid GMail, Zenbe or Aol address and configures the SMTP/POP3 server addresses and ports automatically.
Have a closer look to the function loading the JS file and searching for “confAccount”.

Technorati Tags:

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.