JavaScript Video Tutorial Pt 7

Best JavaScript Book :

I explain how to dynamically validate forms using JavaScript. This is also a review on how to use the Document Object Model and Regular Expressions.

Code is Here:






42 responses to “JavaScript Video Tutorial Pt 7”

  1. New Bee Avatar

    Thank you sir, you saved me <3 !!
    question : when/where do i use the keyword "this" ?
    and i don't get why you used return true and return false in the editNodeText function ,helpp !!

  2. Tommy Simpson Avatar

    Hello 🙂 , I've just found your tutorials many thanks for sharing your time and knowledge, I think you may get me through my current uni block 🙂

  3. Hardik Patil Avatar

    Can we use both JavaScript and PHP form validation scripts in one file?

  4. jojo300001 Avatar

    Just recently got into programming and your videos have been great, Mr. Banas. It's sad their isn't content like this sponsored more widely.

  5. Sloba Slobodan Avatar

    i even downloaded your script an does not work, do you know what semes to be a problem?
    i run on win 7

  6. Caspa Avatar

    dude sounds like american dad or the wheelchair dude from family guy

  7. Vinay Mishra Avatar

    hey derec i copied the code . i am not getting any output?
    same problem with(tut 8 and tut 6).

    can you please help me out:)

    btw your tuts are awesome:)

  8. uselessloginrequired Avatar

    Mr Banas,

    Thank you for putting together so many great educational videos. I've been watching them a lot in order to understand  some of the concepts my programming classes are covering. I've recently learned though that in order to properly cite ideas or code techniques I've learned from New Think Tank I have to include copyright information, but I didn't see a link to anything like that on your site. Do you have a formal copyright notice of any sort?

    Thanks for your time.

  9. Matt Dathew Avatar

    sometimes we escape [A-Za-z.' ], and sometimes we don't [A-Za-z0-9._]. how do u know when to escape?

  10. Neculai Cornel Avatar

    Hello Derek! I would like to know how could I make this validation on submit? Would you mind if you give a short example? This would be helpfull and I will be gratefull! 😀 Thank you for all tutorials! They're very usefull!

  11. Dhruv Ramani Avatar

    Derek, Instead of 
        while (node.firstChild)
    ,Can't we use

  12. Dhruv Ramani Avatar

    Derek, if I want to call the same method for all the elements with the same tag then what do I do?
    Is it better to do that instead of   document.getElementById();   ?

  13. goldenvocals369 Avatar

    @derek Banas thanks for the video. Is there a way to validate all phone numbers on different dial plans such as phone numbers from outside North America? I'd love to hear your thoughts.

  14. Lizardan Avatar

    Hi Derek. I see you only use Mac OSX for all your videos. I've always thought you need windows for programming. Do you see any advantages or disadvantages by using Mac OSX?

  15. Sudeshna Bora Avatar

    I have been trying to show a message onclicking the input tag (the form consist of a number of input fields and corresponding span with unique ids). 
    While I use spanid.innerHTML="msg"; without including it in  a switch case – it works fine . 
    The problem starts when i use 
        case "firstname_message":
     and so on
    please help ?? been stuck in it for 2 days now 

  16. AnnaestJolie Avatar

    Could you make a tutorial for a copy to clipboard function?

  17. SimplyMOC // SimpMOC Avatar

    I got a JavaScript ad
    Good job google+

  18. Jeremiah B Avatar

    Hello sir, why do we need to put the caret sign in the regular expression here?

  19. dragonore2009 Avatar

    This is something I would put in my javascript toolbox.  Wouldn't want to repeat all of that, all the time.  Thanks Derek, other folks make this more confusing then what it is.

  20. nightkiller1992 Avatar

    These tutorials are the best! Especially for people with programming experience.
    TY for those tuts!

  21. Derek Banas Avatar

    That is great! I'm very happy to be able to help. That is very cool that you are from Russia since Russia was my fathers home country 🙂 You're English is very good by the way.

  22. Марк Пасько Avatar

    Derek, your tutorials are the best for those, who have programming experience! I use your videos for refresh my knowlege! And your tutorials help me to get the best of information not waisting much of my time! Thank you for such timesaving lessons! Excuse me for my mistakes as I am russian viewer of your tutorials.

  23. Derek Banas Avatar

    Did you get the code from my site? I provide a link to it in the description for this video. i hope that helps 🙂

  24. antonio armstrong Avatar

    i couldnt get this to work did exactly as u did, even tried to mod it and nothing happens

  25. Derek Banas Avatar

    Thank you very much 🙂 You're very welcome!

  26. Alik Kuliev Avatar

    awesome thank you great job )) yu re

  27. Derek Banas Avatar

    Thank you 🙂 I'd love to cover Ruby and I definitely plan to. I'm cover SQLite right now that is often used with Ruby. I'll see if I can slip in a basic Ruby tutorial while covering Android development for fun

  28. jirehguy Avatar

    Derek your videos help me alot even when i Know the basics better than most peopel. Can you make a Video on Ruby?

  29. Robert Booker Avatar

    I followed along with this tutorial and typed it exactly how you did during it, but it does not work. So I opened it in Chrome and ran the inspect elements. Below is what it is saying on all of the onblur codes. Please help

    Uncaught ReferenceError: isTheFieldEmpty is not defined

    Uncaught ReferenceError: isTheFieldEmpty is not defined

    Uncaught ReferenceError: isAddressOk is not defined


  30. Derek Banas Avatar

    Thank you 🙂 Feel free to ask questions if you have any. I'm glad to help

  31. Ega Hacass Avatar

    Hi, I tried this on Opera and IE, and yours code. Didn't work form me. Byt thanx anyway, it's a great tutorial, I have better understanding about java script now:)

  32. Derek Banas Avatar

    I'll be covering javascript again when I get into web apps. Up next is android and game development

  33. Derek Banas Avatar

    We only learn from mistakes 🙂

  34. AssilEats Falafal Avatar

    soo even pros do some mistakes huh? now im relaxed to know that they are only humans XD (just kidding)

  35. Derek Banas Avatar

    Thank you very much 🙂 I have hundreds of tutorials planned

  36. Jhan Mateo Avatar

    Your tutorials are very helpful! Thank you so much. More tutorials!

  37. Derek Banas Avatar

    I'm going to do a big tutorial on how to create web apps using JavaScript very soon. I think I'll add your request because it sounds fun. Thank you for that 🙂

  38. Gary Robinson Avatar

    Hi there could u do a tutorial on how.. to create a page where there is a t-shirt template and the user can click on a color and when he clicks on the template the template colour changes. and then if some one inputs a text with styke they can on the template. and also clicking on an image and hitting the image the image will put on a template aas well…etc etc… im trying to design a t-shirt website…

  39. Derek Banas Avatar

    God bless you as well for your kind words 🙂 You're very welcome

  40. Waheed Bashir Avatar

    Sir God will bless you.You are helping to thousands students without any greed (plz dont mind my english is weak ).I LIKE YOU.

  41. Derek Banas Avatar

    This is my only successful tutorial series except for my body language stuff. Hopefully I'll make another popular series some day 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *