Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6056255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:21:21+00:00 2026-05-23T08:21:21+00:00

I know you cant save javascript variables into server side variables (vbscript) directly, but

  • 0

I know you cant save javascript variables into server side variables (vbscript) directly, but is there a way around this like saving java script variables into html hidden inputs then using javascript to post. Is this possible? If not what else can i do? Below is my code so far get the value of a drop down list – javascript

        function selectedDatabase() {

            select_temp = form1.elements["selection"];
            select_index = select_temp.selectedIndex;
            select_text = select_temp.options[select_index].text;                                                              

        }    

Below is the HTML code

<center><select id="selection" onchange="selectedDatabase()">
<option>Movies</option>
<option>Movies 2</option>
<option>New Movies</option>
<option>New Movies 2</option>
</select></center>
</td></tr>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T08:21:22+00:00Added an answer on May 23, 2026 at 8:21 am

    What you’re looking for is called ajax. You can do it manually, or better use a JavaScript library such as MooTools, jQuery, or Prototype.

    Check out Google University’s Ajax tutorial. I would avoid w3schools’ tutorials.

    Just to cover all the bases, why can’t you just have the user submit the form?

    Also, you could do this with cookies, though you won’t get the cookie values on the server until the next GET or POST from the user.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I cant post the code (proprietary issues) but does anyone know what types of
I get the feeling this is probably something I should know but I can't
I know this is probably on the Internet somewhere but I can't find the
I know this maybe a basic question but I just can't seem to find
I've just discovered the way to create fake 'classes' in javascript, but I wonder
Is there a way to create a text file on the client side and
I know this is a stupid question, but I can't find the answer anywhere.
I know this flavor of question has been asked multiple times, but I've spent
i dont know why this time i cant show the number of views of
I know, there are several posts with nearly the same question, but all the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.