PDA

View Full Version : VBScript



conkermaniac
October 27th, 2002, 02:09
I'm learning this interesting programming language (it's a client-side scripting language with very similar functions as JavaScript). Could anyone recommend some good tutorials? I already know about these:

www.intranetjournal.com/corner/wrox/progref/vbt/
www.w3schools.com/vbscript/default.asp
www.webtivities.net/files/vbscript/vbstutor.htm

Thanks! :)

ashben
November 1st, 2002, 22:45
VBScript is both a client-side (IE only) and server-side (as ASP) scripting language. You can find more on the official VBScript site at http://msdn.microsoft.com/scripting/

conkermaniac
November 3rd, 2002, 08:07
You mean it is ASP? :eek:

Archbob
November 5th, 2002, 17:03
I used to know quite a bit of Vbscript. But it just could not do as much as javascript, so I quit. and Vbscript doesn't work in netscape.

conkermaniac
November 9th, 2002, 09:12
Hi Archbob,

Since you happen to know quite a bit of JavaScript, could you help me with this?



<a href=\"#\" onClick=\"document.form[0].elements[11].value = \'hey\'; return false;\">Quotes</a>


What is wrong with that (keeping in mind that the backslashes are there because I'm embedding this into PHP tags)? Every time I insert this piece of code into my document, it starts giving me errors in all sorts of weird places. This piece of code is on line 70, but I'm getting errors on line 37, 47, and then 57. Of course, as soon as I take this segment out, everything works fine again.

Oh, and what I'm trying to do is create a "Quote this Reply" type feature on a message board. When a user hits the link, it will quote that post in a textarea box in the reply form below. The word "hey" is there only because I'm testing it out (I'll figure out all the PHP variables later). :)

Thanks! :D