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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T03:32:52+00:00 2026-05-31T03:32:52+00:00

This has been driving me crazy.. I am trying to return a value from

  • 0

This has been driving me crazy.. I am trying to return a value from a variable and I can’t seem to do it. When I multiply the variable by something, it works fine, but when I try to just show that one variable on a keyup function, it’s a no go.

This is the problem in the script I am running into:

$("input.numberOfAccounts").keyup(function () {
$("input.pricingPerAccount").val($(newPricePerAccount));
 });

As you can see, newPricePerAccount is the value I want to return and I have tried everything to make it just return that. What am I doing wrong?

Here it is in a jsfiddle, it will give you more insight.

http://jsfiddle.net/GLnQx/

EDIT: I have updated the fiddle.. All I am really trying to do is match input.pricingPerAccount to the variable of newPricePerAccount and it keeps returning just object, object. What’s wrong?

  • 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-31T03:32:54+00:00Added an answer on May 31, 2026 at 3:32 am

    Is this what you wanted? http://jsfiddle.net/GLnQx/2/

    EDIT:

    If I understand your comment correctly, you want to re-update the value of newPricePerAccount each time as well? Is this what you mean? http://jsfiddle.net/GLnQx/6/

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

Sidebar

Related Questions

This has been driving be crazy, but I can't seem to find an answer.
This has been driving me crazy for 2 days. I have been trying to
This has been driving me crazy! It must be something simple. Here is my
This has been driving me crazy for the past few days. I've done something
This has been driving me crazy all day. I just want the value of
This has been driving me crazy because I can't find anything on Google. Maybe
I hope someone can help me. This has been driving me crazy for days.
This is driving me crazy, and has been bugging me for weeks, I'm trying
This has been driving me crazy for a few days. Why doesn't the following
This has been driving me crazy for the past few minutes I have a

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.