LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-09-2008, 04:34 AM   #1
newage123
LQ Newbie
 
Registered: Oct 2008
Posts: 0

Rep: Reputation: 0
Question What is the difference between VB script and Java script?


Which one is the better tool for client side validation? I am using java script .Can any one suggests which one is the better?
newagesmb.com
NJ website development[/URL]
 
Old 10-10-2008, 01:16 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Sounds like you haven't read much about either one Which one is better depends on what you're trying to achieve and what you're working with, but overall I'd pick JavaScript -- that is, if you really need to go there.
 
Old 10-10-2008, 01:17 PM   #3
CRC123
Member
 
Registered: Aug 2008
Distribution: opensuse, RHEL
Posts: 374
Blog Entries: 1

Rep: Reputation: 32
The simple answer is they are both scripting 'languages' that have different syntax.

AFAIK, javascript will work with every gui web browser there is. VBscript usually only works on Internet Explorer.

I would use javascript simply because it's supported by more browsers.

Also, don't confuse it with java, it's not the same thing, it was only designed to be similar to java.
 
Old 10-10-2008, 02:56 PM   #4
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by newage123 View Post
What is the difference between VB script and Java script
Different languages & syntax.

Quote:
Originally Posted by newage123 View Post
Can any one suggests which one is the better?
Probably neither, but Javascript is more often used.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shell script to find the difference betwwn two file and place the difference to other kittunot4u Linux - General 3 07-19-2010 04:26 AM
[SOLVED] [bash]difference between script on command line and in file Wim Sturkenboom Programming 4 09-08-2008 02:20 AM
difference between shell script & make subbusp2 Linux - Newbie 1 07-23-2008 09:33 PM
Difference between executing & sourcing a script muazfarooqaslam Linux - Newbie 1 01-04-2008 02:51 AM
linux 9 and java script error - premature end of script header sibil Linux - Newbie 0 01-06-2004 04:21 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration