The Little Guy Posted November 20, 2006 Share Posted November 20, 2006 I need a three part calculator:Field 1: Main PriceField 2: 90% of main priceField 3: 10% of main priceNumbers should be able to be entered into any one of the three fields, and the calculator will automatically fill in the other two.I don't know anything about JavaScript so... Help would be great. I don't want to read any tutorial on JavaScript, but I wouldn't mind reading something that was similar to this.Can PHP be integrated to make this AJAX? Link to comment https://forums.phpfreaks.com/topic/27843-calculator/ Share on other sites More sharing options...
fenway Posted November 21, 2006 Share Posted November 21, 2006 There's no reason you can't do this with a few onblur handlers, checking that the field isn't already "calculated"... but you're going to have to read some tutorials. Link to comment https://forums.phpfreaks.com/topic/27843-calculator/#findComment-127687 Share on other sites More sharing options...
The Little Guy Posted November 21, 2006 Author Share Posted November 21, 2006 I figured it out. Link to comment https://forums.phpfreaks.com/topic/27843-calculator/#findComment-128036 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.