PDA

Click to See Complete Forum and Search --> : Why does this work in VBScript but not Javascript?


noone
Aug 29th, 2000, 05:45 PM
In JS you have to use "()" with a method and end each line with a ';'
eg:
document.writeln("some crap");

V(ery) Basic
Aug 30th, 2000, 02:09 PM
Thanks, noone.

I thought that that just applied to C++.

(That sig's never going to change, is it?)

parksie
Aug 30th, 2000, 02:17 PM
I think VB is the only language where you can leave the parentheses out.

noone
Aug 31st, 2000, 05:22 PM
I thought about changing the sig but I couldn't think of anything creative. Being creative means I have to use my brain, and my brain has been turned off since the end off school (helped by alcohol and bad sleeping patterns).

hurgh
Aug 31st, 2000, 08:57 PM
Here is a link to some pages that i made for a friend where one link had to change two frames. It is all written in javascript so have a look and you can use it if you want.

ftp://hurgh.ath.cx/frames.zip

Hope this helps

Hurgh