Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jun 2002
    Location
    Amsterdam / Netherlands
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ASP, forms and frames

    Hi,

    I've got a form in frame 'X' and in frame 'Y' I want to use the value of that form in an IF-statement in order to display file 1 or file 2 depending on the size of the value (asp).

    So if form.value= > 0 then .... etc.

    If I use the following an error occurs:
    var a = top.x.form.name.value

    It does not recognize the 'top' function within the asp-marks.

    How to solve?
    Best regards
    Maurice

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,037
    Thanks
    0
    Thanked 250 Times in 246 Posts
    this a javascript question. and even so, your question is not clear. Form has no value, what it has are elements that have values.

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    41° 8' 52" N -95° 53' 31" W
    Posts
    3,660
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'll move you to the right forum so you can get more help - but what glenn said is correct.
    Former ASP Forum Moderator - I'm back!

    If you can teach yourself how to learn, you can learn anything. ;)


  •  

    Posting Permissions

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