Topic: Simple question about document.submit (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: Stockholm, Sweden |
posted 09-07-2006 09:45
Tearing my hair out here. |
Maniac (V) Inmate From: |
posted 09-07-2006 09:56
You need to access a collection, like document.forms["myform_3489"] or document.getElementById("myform_3489") |
Nervous Wreck (II) Inmate From: Stockholm, Sweden |
posted 09-07-2006 10:01 |
Paranoid (IV) Inmate From: Australia |
posted 09-09-2006 03:49
You can use document.formName.submit , in IE at least - not sure if other browsers like this however. The way you mentioned is probably more browser friendly. |
Maniac (V) Inmate From: |
posted 09-09-2006 13:59
The way he chose is correct, dom and w3c wise. therefore compatible. |
Nervous Wreck (II) Inmate From: Stockholm, Sweden |
posted 09-10-2006 19:51 |
Neurotic (0) Inmate Newly admitted From: |
posted 03-17-2007 10:35
it is working fine with all browsers except opera. |