passing data from javascript variable to asp variable.

Discussion in 'ASP General' started by Steve Cosh, Nov 18, 2005.

  1. Steve Cosh

    Steve Cosh Guest

    Hi,

    is there any way of passing a javascript variable over to a asp variable so
    i can write it to my database.

    Thanks
    Steve Cosh, Nov 18, 2005
    #1
    1. Advertising

  2. Steve Cosh

    joewiii Guest

    try
    loc.href = loc.pathname + '?variableName=' + value
    in your script

    "Steve Cosh" wrote:

    > Hi,
    >
    > is there any way of passing a javascript variable over to a asp variable so
    > i can write it to my database.
    >
    > Thanks
    >
    joewiii, Nov 18, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. shil
    Replies:
    2
    Views:
    2,009
    Eliyahu Goldin
    Jan 2, 2007
  2. pereges
    Replies:
    7
    Views:
    423
    pereges
    Jun 1, 2008
  3. Jonas Daunoravicius
    Replies:
    5
    Views:
    297
    Peter
    Jul 17, 2003
  4. Jonas Daunoravicius
    Replies:
    5
    Views:
    264
    Peter
    Jul 17, 2003
  5. Dave A
    Replies:
    7
    Views:
    227
    Dave Anderson
    Jan 21, 2004
Loading...

Share This Page