Where is my variable ??

A

Anthony Judd

This javascript function is called upon submitting a form. I have checked
that the value
in the layer "ed" is being retrieved ok..and it is fine. The content form
element seems to be populated
with the required information..upon calling this function. When i try to
retrieve the value of this form element via Response.Write()
however nothing comes up.

Any Ideas. ???

function submitform()
{

document.forms[0].content.value = document.all.ed.innerHTML;
document.forms[0].submit();

}

When i response.write(Request.Form("content")) it comes up empty...!!!
Can anyone tell me what could be wrong ??

Help appreciated.
 
R

Ray at

What happens if you do:

function submitform()
{

document.forms[0].content.value = 'test';
document.forms[0].submit();

}

and then response.write the value?

Ray at home
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,076
Messages
2,570,565
Members
47,201
Latest member
IvyTeeter

Latest Threads

Top