Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. aspire011

    adding values from two separate functions in javascript

    WORKED WITH THESE CHANGES Strange that the number function did not work. It works in a single function, when I tried to use it my select boxes would not work, but I figured it out. Here are the changes. Its now working. function calculate(){ result=parseInt(dropdown1.value) +...
  2. aspire011

    adding values from two separate functions in javascript

    I have to change the var to number outside of the functions so that they can be read from any where in the program eg dropdown1=Number(dropdown1).value; dropdown2=Number(dropdown2),value; the program is still reading the numbers as text Tell me where I am going wrong please.
  3. aspire011

    adding values from two separate functions in javascript

    the function calculate function calculate(){ result=dropdown1.value+dropdown2.value; alert(result; } is working except that it prints out the numbers as if they were text and did not add them. So the program is not seeing the dropdown values as numbers. My guess is if it sees them as...
  4. aspire011

    adding values from two separate functions in javascript

    I want to call a function that adds values from two separate functions. the functions produce values in a drop down box. For example function one outputs dropdon value in a text field box and function two outputs another value . I want to call a function that adds the values of the two drop...
  5. aspire011

    error when trying to run an app in debug mode in vs2012

    I have installed visual studio 2012 for windows 8. Each time i try to run an app locally I get this error message Unable to debug windows store app ‘wwahost.exe’ . The debugger was unable to find the registration for the target application. Any one has any ideas. I have uninstalled and...

Part and Inventory Search

Back
Top