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 8822381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T06:05:43+00:00 2026-06-14T06:05:43+00:00

I know this is simple, but I can’t get it working. I’m hoping someone

  • 0

I know this is simple, but I can’t get it working. I’m hoping someone here can help.

First off, this is part of a web app for iOS.

Okay, I have a list of items:

Room Type: <select id="isoList" name="isoList">
<option></option>
<option value="20">ISO 8 Life Sciences Low Use</option>
<option value="25">ISO 8 Life Sciences Med Use</option>
<option value="30">ISO 8 Life Sciences High Use</option>
</select>

I need to have the user select the room type, then pass the option value – as a var – to another function that uses the var in a calculation.

Here’s the script I have to far. My form is named airflow…

function isoChange()
{
var isoChange = document.airflow("isoList");
var airChanges = isoChange.options[isoList.selectedIndex].value;
}

Now I want to pass airChanges to this function…

function calcAF(airChanges)
{
var length = document.airflow.length.value; //length
var width = document.airflow.width.value; //width
var height = document.airflow.height.value; //height
var changes = airChanges; // hourly air changes
}

From there the calcAF function will use the var in various math formulae.

I’ve got it to work if I get the user to tell me airChanges, but it breaks when I try to get the airChanges from a drop down list.

  • 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-06-14T06:05:45+00:00Added an answer on June 14, 2026 at 6:05 am

    Maybe I don’t understand the problem, but from what I understand, the isoChange function should look like this:

    function isoChange()
    {
       var isoChange = document.airflow("isoList");
       var airChanges = isoChange.options[isoList.selectedIndex].value;
       calcAF(airChanges);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this is simple but I can't get it working! I have no
I know this is rather laughable, but I can't seem to get simple C++
I know this sounds simple, and probably is, but I can't seem ot get
I know that this is simple terminology, but I can't get it via google
I know this should be simple but can't figure it out. Here's the code.
Please help! I don't know if maybe this is too simple but I can't
Alright, I know this is a simple question, but I can't seem to get
I know this is a simple question, but can you all help me with
I know this is a simple question, but I can't get it to work.
I know this is probably something simple but I can't seem to find anything

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.