Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling a function within a function

Status
Not open for further replies.

cdumigan

MIS
Feb 5, 2002
16
0
0
IE
Hi there,
I am trying to set up a function that will call another function. What is the correct syntax for this?
At the moment I have:

function setQuantity(){
setCookie('lespaul', document.submitForm.lespaul.value);
}
This doesn't seem to work!
Thanks in advance,
Conor
 
1. Does function
Code:
setCookie()
exist?
2. Is there a form on your page called "submitForm"?
3. Is there an element within your form called "lespaul"?
bluebrain.gif
blueuniment.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top