Tsiris, before you get too far with this, do you know that client-side VBScript works ONLY in Internet Explorer? That anyone accessing your site with another browser will get error messages and/or your VBScript-coded portions of the page won't work?
If so, and you still want to go this way, then as someone else has suggested you may not be understanding where your code is processed. The "<%" and "%>" tags are typically used on the SERVER to indicate code that should be processed there. The brief sub example you provided in another message should not use them unless you expect the sub declaration lines to be sent to the client while the line in between them is processed by the server. A complete piece of your code showing everything you're trying to do would help everyone here help you without a lot of guessing about what you're trying to do. It is more typical to use Javascript for client-side operations. It's supported by many browsers, including Internet Explorer. HTH -----Original Message----- From: Tsiris Alexandros [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 9:18 AM To: ActiveServerPages Subject: RE: asp code inside a vbscript function? ooooppsss, It's a SUB END SUB not a function, but that shouldn't make a difference right? and I am using IE 6 --- You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --- You are currently subscribed to activeserverpages as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
