How to use ?

Recommend this page to a friend!

      E-mail validation  >  All threads  >  How to use ?  >  (Un) Subscribe thread alerts  
Subject:How to use ?
Summary:I am a beginner in programming.
Messages:3
Author:Josť Luis RS
Date:2012-01-03 13:57:51
Update:2012-01-03 19:43:29
 

  1. How to use ?   Reply   Report abuse  
Picture of Josť Luis RS Josť Luis RS - 2012-01-03 13:57:51
I am a beginner in programming.

I wish I knew how to use the JS in a simple form of email, there is no indication, and if I can help me, I appreciate it.

Thank You in advanced!

Josť Luis

  2. Re: How to use ?   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2012-01-03 19:43:29 - In reply to message 1 from Josť Luis RS
This object is meant to run on the server side using Node.js.

nodejs.org/

Once you have Node.js installed, you can just execute the example passing its file name as parameter.

  3. Re: How to use ?   Reply   Report abuse  
Picture of Pavel Yaroshenko Pavel Yaroshenko - 2015-06-05 09:47:45 - In reply to message 2 from Manuel Lemos
Hi, I also new in js. Look I run in command prompt:
node testEmailValidation.js and i get
It was not specified the e-mail address for validation.
when i run node testEmailValidation.js kas@mail.ru i get
Error: Cannot find module './sockets'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at new exports.validation (C:\Users\pya\Downloads\email-validation\emailVali
dation.js:16:13)
at Object.<anonymous> (C:\Users\pya\Downloads\email-validation\testEmailVali
dation.js:29:19)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)