Hey, I was wondering how I would go about dynamically inserting a .gif in a page to determine a pass/fail indication. I have a form taking in values and having upper and lower limits, and once the value is inserted (with the help of the onblur tag) I get a Pass/Fail indicator, but I want to...
Hey, I have a variable passed into another page through a form. The next page grabs it with a request.form, and that seems to work fine. But when I want to use it in a Javascript function, it doesn't recognize it as being set. How do I cross a variable from VBScript to Javascript?
Here's what...
ok, now I have the arrays being populated, but the onload tries to access it before it's actually populated. I bring over the "option" value from the previous page and do a:
set optionchosen = Request("option")
at the top of the page, but before that can actaully take...
so how would I go about declaring the WNetGetUser, I can't seem to use it straight forward...unless there's an easier way to get the username of the person logged on to the computer? I'm hoping that's the only problem I have with the code...:-)
but what values would I pass? Would I do this again:
Select Option <SELECT NAME="option" size=1 onchange="fillSelectFromArray(this.form.gotoption, ((this.selectedIndex == -1) ? null : team[this.selectedIndex-1]));">
<option selected value='-1'>Select Option...</option>...
Hey, I want to populate a drop down, not through a DB, but from an array through a variable chosen from the previous page. I know how to do it when it's on the same page with an array, but I'm having trouble getting it to run on another page.
Here's what I have when it's on the same page:
team...
well, when I place your revised code between the <script language=VBScript></script>, it says I have a syntax error, but won't say where. If I try to place it between the delimiters (<% %>), it says:
Microsoft VBScript compilation error '800a0400'
Expected statement
Option...
Hey, I'm having trouble figuring out why this isn't working...can someone shed some light on it for me?
<HTML>
<HEAD>
<script language="VBScript">
Option Explicit
Declare Function WNetGetUser& Lib "Mpr" Alias "WNetGetUserA" _
(lpName as Any, ByVal lpUserName$...
Hey guys, is it any different to validate floats as it is to validate integers? I have a form with three text boxes: upper and lower specs and an input box for a user input value. For example, an upper is 1.2345 and a lower is 1.0293. I want to check to see if the value input is between the two...
that works pretty good...now how would I do it for....well, let me show you what I have to do:
drop down 1
option 1 -> choices are a,b,c,d,e
option 2 -> choices are a,b,c
option 3 -> choices are a,b,c,d,e,f
drop down 2
option 1a -> choices are 1,2,3
option 1b -> choices are 1,2,3,4,5
option 1c...
Hey guys, I want to find the easiest way to fill in four drop down boxes, one right after another has been chosen. The way I'm doing it right now is getting to look very ugly, not to mention long, and I know there has to be a better way....Not only do each of them depend on the previous, but...
Hey, I'm trying to read in a txt file to grab information in VBscripting, but when I read a line that begins with a "'", it doesn't grab the line....here's what I have including the file being read...am I doing something wrong?
----MyDummy.txt
'dummy config file for Test
PARAM
'11010...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.