Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 6 of 6
Search took 0.02 seconds.
Search: Posts Made By: jmill23
Forum: JavaScript programming 01-04-2013, 08:41 AM
Replies: 11
Views: 535
Posted By jmill23
Thanks Old Pedant! It looks good and I did try it...

Thanks Old Pedant! It looks good and I did try it before!
Forum: JavaScript programming 01-03-2013, 09:18 AM
Replies: 11
Views: 535
Posted By jmill23
Thanks - I know the script is a bit extensive!...

Thanks - I know the script is a bit extensive! That's why I got stuck - I'm not an expert - just trying to adapt it! Could you simplify it so it is shorter as there are scrpits passing through...
Forum: JavaScript programming 01-03-2013, 09:16 AM
Replies: 11
Views: 535
Posted By jmill23
Hi, Thought about that, but the calorie ratios...

Hi,
Thought about that, but the calorie ratios are based on hours of activities.

Thanks.
Forum: JavaScript programming 01-02-2013, 08:33 PM
Replies: 11
Views: 535
Posted By jmill23
Just removed roundFloat() and checkAmount()...

Just removed roundFloat() and checkAmount() functions and it doesn't work as these are linked to by:
// Adds total hours.
hours = totalHrs
form.total_hrs.value = checkAmount(hours);
Forum: JavaScript programming 01-02-2013, 08:27 PM
Replies: 11
Views: 535
Posted By jmill23
Thanks Old Pedant, code looks a lot simpler now,...

Thanks Old Pedant, code looks a lot simpler now, but after trying it's not calculating correctly. Each variable is based on time, activity and a set value. The kcals bit was working ok, but isn't...
Forum: JavaScript programming 01-02-2013, 07:04 PM
Replies: 11
Views: 535
Posted By jmill23
Complex Javascript Array - sum values and insert value into form

Trying to adapt a rather complex array code. Basically, I want to add the total hours entered, then return the value into input name="total_hrs", but got stuck! Would also appreciate any help to...
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT +1. The time now is 10:13 PM.