JavaScript Calculator Problem

JavaScript Calculator Problem
0.0 0

#1

Hi there,

I am currently busy with my JavaScript calculator and I seem to be having trouble executing the code. For some reason it doesn’t work when I click my buttons.

I was wondering if someone can perhaps help me see what I am missing?

Any help would be appreciated.


#2

You missed the # symbol . Your have written $(“output”).html() instead of $("#output").html() in both getTotal and update function.


#3

Thank you very much, this solved my problem.


#4

U r welcome :slight_smile: