Where 2 would automatically update to reflect (text1’svalue + 30%) but only if I click something outside of text entry 1. I may not always want to use this function, so I would like it available if I click a button and not automatically upon entry of 1.
I did mean value and I’ve edited the post to take into account that I wouldn’t always want to use this function. Sometimes I would be entering a value not equal to the equation into #2 on my own.
Basically, “price” should update when “ciw[1][price]” gets a number. Right now, nothing is happening. I have the function in the head, I’ve called jquery prior to the function and I’ve kept the names correct in the function. What have I done incorrectly to break it?
I’ve figured out what I did wrong and I’ve got the math updating price when ciw[1][price] is updated. The issue I’m having now is that I’d like to to happen based on pressing a button beside ciw[1][price]. Is that something that’s possible or am I restricted to the function occurring upon update of the text box?