![]() |
Perform maths function on number input
Hi im completely new to coding so forgive me for being a complete noob but Im looking for a script that will allow me to have 2 input boxes (one for grams of fat the other for grams of sugar) and on entry I need it to display the first amount divided by 300 and the second divided by 4 in two text boxes?
|
Not pretty, but shows you what to do:
Code:
<!DOCTYPE html> |
| All times are GMT +1. The time now is 09:38 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.