Results 1 to 11 of 11

Thread: VBScript vs JavaScript

  1. #1

    Thread Starter
    Hyperactive Member Utpal's Avatar
    Join Date
    Feb 2002
    Location
    Mumbai, India
    Posts
    393

    VBScript vs JavaScript

    Hi everybody,
    I have heard that there are some limitations of VBScript over JavaScript. Is that true ?
    It is easy when you know it.

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Well, Client side browser based VBScript severely inhibits your choice of web browsers...
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    ...meaning that VBScript is Microflop only. Take my advise, Learn Javascript and don't look back.
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

  4. #4

    Thread Starter
    Hyperactive Member Utpal's Avatar
    Join Date
    Feb 2002
    Location
    Mumbai, India
    Posts
    393
    To learn JavaScript, do I have to learn Java ?
    It is easy when you know it.

  5. #5
    PowerPoster
    Join Date
    Nov 2001
    Location
    Trying to reach and stay in the cloud
    Posts
    2,089

    hi

    No. Java is an entire language. Whereas javascript is a scripting language used for client side validations for your browser.

  6. #6
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    The only thing that Javascript and Java have in common are their names.

    Ok.. maybe they also both use a C style syntax.. but that's about it..
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  7. #7

    Thread Starter
    Hyperactive Member Utpal's Avatar
    Join Date
    Feb 2002
    Location
    Mumbai, India
    Posts
    393
    Thanks to all !
    It is easy when you know it.

  8. #8
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140

    Re: hi

    Originally posted by veryjonny
    No. Java is an entire language. Whereas javascript is a scripting language used for client side validations for your browser.
    To second Monte, yes, the only thing JavaScript and Java share are the name and the syntax. Java uses the C/C++ syntax. JavaScript (which was orginally to be called LiveScript before Java was released) uses the same syntax. Java is owned by Sun and controlled by a Java board chaired by Sun. JavaScript is owned by Netscape and seeks compliance with standards set up by the W3C and the ECMA.

    I wanted to point out what Jonny said though. Don't think of JavaScript as a limitation just for validation. JavaScript is very powerful. You can do anything you want on your web page. You can even create an entire windowing desktop in a web browser if you had the time and energy.
    Travis, Kung Foo Journeyman
    As always, RTFM.

    WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
    Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
    YBMS, but Mozilla doesn't.

  9. #9

    Thread Starter
    Hyperactive Member Utpal's Avatar
    Join Date
    Feb 2002
    Location
    Mumbai, India
    Posts
    393
    Thanks !
    It is easy when you know it.

  10. #10
    PowerPoster
    Join Date
    Nov 2001
    Location
    Trying to reach and stay in the cloud
    Posts
    2,089
    Yup, I am aware of it. I just forgot to put the word usually used for client -side validations. Thanks anyways.

  11. #11
    Lively Member
    Join Date
    Feb 2002
    Posts
    77
    When i faced a situation, how would i know which type to use, vbscript or javascript ??? I have a problem here where after selecting an option from both the drop down menu, it automatically display the time difference. How would i know for this situation i should use vbscript or javascript or is it both also can be used ???

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width