Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. VBScript and ASP

VBScript and ASP

Scheduled Pinned Locked Moved Web Development
help
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Ph ntom
    wrote on last edited by
    #1

    I have a asp page called ASP1.asp and it contains

    I have included another page called ASP2.asp using in ASP2.asp I need to access the value of my HIDDEN variable, whenever I click the BUTTON, like this <% function ShowMe() Response.Write ' value of HIDEVAL end function %> or is there any way to pass the value of HIDDEN variable to the method ShowMe() Help greatly appreciated Regards, The Phantom.

    D U 2 Replies Last reply
    0
    • P Ph ntom

      I have a asp page called ASP1.asp and it contains

      I have included another page called ASP2.asp using in ASP2.asp I need to access the value of my HIDDEN variable, whenever I click the BUTTON, like this <% function ShowMe() Response.Write ' value of HIDEVAL end function %> or is there any way to pass the value of HIDDEN variable to the method ShowMe() Help greatly appreciated Regards, The Phantom.

      D Offline
      D Offline
      DSclub
      wrote on last edited by
      #2

      It's impossible. Cause Asp code is compiled before HTML at server. :)

      1 Reply Last reply
      0
      • P Ph ntom

        I have a asp page called ASP1.asp and it contains

        I have included another page called ASP2.asp using in ASP2.asp I need to access the value of my HIDDEN variable, whenever I click the BUTTON, like this <% function ShowMe() Response.Write ' value of HIDEVAL end function %> or is there any way to pass the value of HIDDEN variable to the method ShowMe() Help greatly appreciated Regards, The Phantom.

        U Offline
        U Offline
        User 795305
        wrote on last edited by
        #3

        You have called function "ShowMe" at ClientSide. Actually "ShowMe" is ServerSide function. You cannot acheive your functionality like this way.

        O 1 Reply Last reply
        0
        • U User 795305

          You have called function "ShowMe" at ClientSide. Actually "ShowMe" is ServerSide function. You cannot acheive your functionality like this way.

          O Offline
          O Offline
          Om Prakash Pant
          wrote on last edited by
          #4

          You cannot call ASP function from client side. You can submit the form and then in the next page, call "ShowMe" function. Om Prakash

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups