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

  • Home
  • SEARCH
  • 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 7000503
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:40:50+00:00 2026-05-27T20:40:50+00:00

I have tied this jQuery Bar Graph plugin with a function that I created.

  • 0

I have tied this jQuery Bar Graph plugin with a function that I created.

My code is on fiddle here
http://jsfiddle.net/swordfish0321/9Rkc2/3/

Problem:
If the ‘Calculate’ button is clicked more that once it stacks text on top of itself rendering the graph non-useable. I tried inserting a reset button that successfully resets the form data and attempts to reset the bar graph, but really just performs a show and hide and the problem persists.

Question:
Anyone have any ideas of how I could either reset this calculator without a page refresh and/or incorporate the reset functionality into the ‘Calculate” button after it’s fired once?

Cheers.

  • 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-27T20:40:50+00:00Added an answer on May 27, 2026 at 8:40 pm

    You’re trying to run .reset() on a DIV element. This will only work for forms.

    What you want todo is really just remove the charts when a user clicks reset. You can do this like: $('#chart').empty();

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

Sidebar

Related Questions

I have a jQuery function tied to my submit button like this: $(function ()
I have the following jQuery code: $(.save_button).click(function() { var $form = $(this).closest(div.info_section).find(form); url =
This question is tied in with this other question that I asked I have
I have the weirdest of problems. I have a jQuery function that animates the
I have a properties file for localization: foo=Bar title=Widget Application This is tied in
I have a site that uses a menu control tied to a sitemapdatasource which
I have a .NET webform that has a file upload control that is tied
A phenomena I'm seeing more and more of is Javascript code that is tied
I have a function tied to an onClick event. It's supposed to play a
I have some existing code. This code uses an html table for a banner.

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.