Results 1 to 2 of 2

Thread: VB Script question on ASP page

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2002
    Posts
    1

    VB Script question on ASP page

    Hi,
    I'm creating several VBScript functions on my ASP page to be run on the client side. Currently I'm running a line of code:

    document.form1.compTotal.value = 200

    (compTotal is my textbox where I want to put some value in)
    (form1 is the name of the form where my textboxes are located)

    inside my VBscript bracket. However everytime I load my page this line doesn't seemed to get executed at all (textbox remains empty)

    Does anyone have input and suggestions what should I look into to solve this problem? Thank you in advance for help.

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    1. Post this question in the ASP forum
    2. Make sure you're not mixing client and server side coding
    3. Make sure you're writing your VB Script to the client where it will get executed
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width