Hello, I am trying to add variables from select options, but I am getting the $NaN error with certain items. The first item is the video under the low end build, you have to select MSI Radeon HD430. The second item is sound under the high end build, you have to select 7.1 Creative Sound Blaster X-Fi Xtreme. Any help you can give me is much appreciated, thank you.


Here is HTML code:


Here is the JavaScript code:


I figure it out, when it was calculating the total one variable was not defined.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.