Once a form is writen inside a DynLayer, it doesn't live in the document
object but in that layer's document object. Any javascript wanting to
access the form should go

holdinglayer.doc.formname.submit()


Max Campsell wrote:

> Hi, I am having a problem using forms and the DynAPI V2. I have
> several layers, which contain tables used for data entry. I would like
> one of these to be an<INPUT TYPE="SUBMIT" NAME="btnSubmit"
> VALUE="Upload"> on a button click event using the DynAPI buttons. I
> would like to use the submit() method of the form. The first line of
> my, first layer is;<FORM method='post' enctype='multipart/form-data'
> action='iploadcls.asp' id=form1 name=form1> The last line of the last
> layer loaded is ;</FORM> All the layers repond as expected except that
> when I try to for a form1.submit() event in my button click function,
> I get nothing. Any help would be appreciated. Thanks Max Campsell


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-help

Reply via email to