Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-30-2004, 01:41 AM   PM User | #1
Jojosh
New Coder

 
Join Date: Apr 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Jojosh is an unknown quantity at this point
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?
Jojosh is offline   Reply With Quote
Old 04-30-2004, 02:00 AM   PM User | #2
A1ien51
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
A1ien51 will become famous soon enough
VBS is IE only
__________________
Tech Author [Ajax In Action, JavaScript: Visual Blueprint]
A1ien51 is offline   Reply With Quote
Old 04-30-2004, 02:13 AM   PM User | #3
Jojosh
New Coder

 
Join Date: Apr 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Jojosh is an unknown quantity at this point
And are there any difrence betwean Jscript and JavaScript?
Jojosh is offline   Reply With Quote
Old 04-30-2004, 03:33 AM   PM User | #4
shlagish
Senior Coder

 
Join Date: Apr 2003
Location: Canada
Posts: 1,063
Thanks: 2
Thanked 0 Times in 0 Posts
shlagish is an unknown quantity at this point
Jscript is a shorter way of writting JavaScript (as far as I know)
__________________
Shawn
shlagish is offline   Reply With Quote
Old 04-30-2004, 07:26 AM   PM User | #5
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,044
Thanks: 197
Thanked 2,412 Times in 2,390 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
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)
Philip M is offline   Reply With Quote
Old 04-30-2004, 09:14 AM   PM User | #6
jbot
Senior Coder

 
Join Date: Feb 2004
Location: Edinburgh
Posts: 1,352
Thanks: 0
Thanked 0 Times in 0 Posts
jbot is an unknown quantity at this point
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).
jbot is offline   Reply With Quote
Old 05-01-2004, 01:38 AM   PM User | #7
Jojosh
New Coder

 
Join Date: Apr 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Jojosh is an unknown quantity at this point
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
Jojosh is offline   Reply With Quote
Old 05-01-2004, 07:38 AM   PM User | #8
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,044
Thanks: 197
Thanked 2,412 Times in 2,390 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
Client-side scripts of any kind require the browser to interpret them and cannot stand alone.
Philip M is offline   Reply With Quote
Old 05-01-2004, 11:07 AM   PM User | #9
swmr
Regular Coder

 
Join Date: Feb 2003
Posts: 638
Thanks: 0
Thanked 0 Times in 0 Posts
swmr is an unknown quantity at this point
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... ?
swmr is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:50 PM.


Advertisement
Log in to turn off these ads.