Home » Developer & Programmer » JDeveloper, Java & XML » Javascript carry the variable over to next page
Javascript carry the variable over to next page [message #490739] Thu, 27 January 2011 02:33 Go to next message
chanveil
Messages: 22
Registered: December 2010
Junior Member
I am building a calorie counter/calculator and I am stuck on carrying the variable over so that it accumulates total value (java/ajax).

So if you click on the letter A you will get a list of foods in the A group and as you modify the form you will increase your caloric value. If you choose a new food group the value is zero'd out.

I need the counter to accumulate all choices from all food options. any ideas?

I am a PHP coder and very very new to java and ajax.

FYI when you click on a letter, it calls (ajax) a .php script that generates the table based on the MySQL database.
Re: Javascript carry the variable over to next page [message #490754 is a reply to message #490739] Thu, 27 January 2011 03:45 Go to previous message
Michel Cadot
Messages: 66648
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
This question bears no real connection with Oracle.
Please find a more appropriate forum.
The topic is locked.
If I'm wrong, please, PM me (or report this message to a moderator, explain why you think it should be unlocked and it might be done).

Regards
Michel
Previous Topic: jquery slideToggle doesn't work in IE
Next Topic: Create xml
Goto Forum:
  


Current Time: Mon Oct 21 08:49:55 CDT 2019