Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    New Coder
    Join Date
    Apr 2004
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question JS or VBS the question is....for you to answer me..please

    Now I know this is JavaScript forum,but I would like to ask this.Is JS better then VBS and if it is why,is it true that Visual Basic Script is easier to learn,is JS more powerful then VBS,and if it is how?

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    VBS is IE only
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

  • #3
    New Coder
    Join Date
    Apr 2004
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts
    And are there any difrence betwean Jscript and JavaScript?

  • #4
    Senior Coder
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    1,063
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Jscript is a shorter way of writting JavaScript (as far as I know)
    Shawn

  • #5
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,910
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    Microsoft introduced their own version of JavaScript called Jscript in IE 3.0. It has only minor differences with the Netscape version of the language. However, Jscript is not a synonym for JavaScript and if Jscript is specified then it will only work in IE. Occasionally this is useful to get rid of some cross-browser incompatibility, which can also be handled with
    if (document.all)

  • #6
    Senior Coder
    Join Date
    Feb 2004
    Location
    Edinburgh
    Posts
    1,352
    Thanks
    0
    Thanked 0 Times in 0 Posts
    use JScript to write ActiveX controls. however, if you're writing out to any VBA-compatible application, then it's better to use VBS (in my experience anyway).

    if your website/webplication doesn't need to use ActiveX objects, then Javascript is best for managing your pages (ie DHTML).

  • #7
    New Coder
    Join Date
    Apr 2004
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Does anybody can explain me the purpose of WSH(Windows scripting host).Is it possible to write browser independent scripts with WSH,i mean scripts that dont need browser to execute.Im sorry if this is stupid Q but am im after all a beginner

  • #8
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,910
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    Client-side scripts of any kind require the browser to interpret them and cannot stand alone.

  • #9
    Regular Coder
    Join Date
    Feb 2003
    Posts
    638
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Jojosh
    Is it possible to write browser independent scripts with WSH,i mean scripts that dont need browser to execute.
    Yes, that is entirely possible: Microsoft Windows Script Interfaces-Introduction
    hmm... ?


  •  

    Posting Permissions

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