hi,
i have part of a page code:
when i take out doctype, it recognizes my form1.field.value
but when i put it back, the value of form1.field.value is undefined.
i have part of a page code:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/URL]
...
...
...
...
...
...
<script type="text/javascript">
function myfunction()
{
alert("inside the function");
var xxx;
xxx = form1.field.value;
alert(xxx);
}
</script>
but when i put it back, the value of form1.field.value is undefined.