I have a function that is passed a id number called templateid. The value is
an identifer of a form element.
To get the value I want I would use the following
form1.template8 .value
In the function I need to get the templateid (which is 8) and get it to
display the value of template8 etc
How do i do this??
function createpage_oncl ick(templateid)
{
// the templateid 8
// needs to get the value of the form element template8
alert( What goes here!!!);
}
Thanks
Chris Hughes
an identifer of a form element.
To get the value I want I would use the following
form1.template8 .value
In the function I need to get the templateid (which is 8) and get it to
display the value of template8 etc
How do i do this??
function createpage_oncl ick(templateid)
{
// the templateid 8
// needs to get the value of the form element template8
alert( What goes here!!!);
}
Thanks
Chris Hughes
Comment