Wednesday, June 29, 2011

Difference between VBScript and Java script


Java Script:
1.      Java script case sensitive
2.      Java Script will be run on client side.
3.      JavaScript will explore in all the browser
4.      JavaScript is  more like c++
5.      JavaScript is client side validation
Example: Var x;
             for(x=1;x<=10;x++)
            {
            document.write(x+”<BR>”);
           }

BV Script:
1.      VBScript not case sensitive
2.      VBScript both client  side and server side
3.      VBScript is like VB
4.      VB accept only internet explore
5.      VBScript for server side validation
   Example:
Dim x
For x=1 to 10
Document. Write x & “<BR>”
next

No comments:

Post a Comment