Ok, let me explain a little. I am using cgi to right to a text file; this text file is what you would see in side of the text box. The part I am asking about has to do with sending a variable to cgi like “m1”. I want the “var” to be dynamic. Inside of the 1st two menu buttons you will see menuPage = “m1” and menuPage = “m2”. When I click on the soups button the variable menuPage = m2. So when I click on the save work button the code that goes
var menuPage = menu_txt1;
really should read
var m2 = menu_txt1;
because menuPage equals m2.
I kind of see what my own problem is, there is a difference between the variable:
number = 1
vs
var number = 1
I am trying to make the variable “number” = two different things at once. I am hoping there is a way around this.