Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

118
Views
Return result when keyup pressed

I am trying to return a result from an input for later use

var banknote_5 = $("#note_5").keyup(function() {
  var banknote_5 = $(this).val();
  result = $("#result_note_5").text(banknote_5 * 5).toString();
  return result;
})

console.log(banknote_5);

What I want to do is each time the user enter a number, I want to return it so I can calculate the total for each notes and coin.

For some reason I cannot return the result, there is nothing.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!