[Pas2js] submit??

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Aug 20 10:29:29 CEST 2019


On Tue, 20 Aug 2019 09:43:32 +0200 (CEST)
Michael Van Canneyt <michael at freepascal.org> wrote:

> On Mon, 19 Aug 2019, Pedro Pablo Oviedo Vera wrote:
> 
> > Hello ...iit is me again...perhaps it is a stupid question but ....
> >
> > I Trying traslate from Javascript to Pas2JS this:
> >
> > document.informacion1,submit()
> >  
> 
> 
> The reset, submit and reportValidity methods of TJSHTMLFormElement
> were missing. I added them in trunk.
> 
> You can now simply do
> 
>   document.informacion1.submit

Do you mean something like

TJSHTMLFormElement(document.getElementById('informacion1')).submit

?

Mattias


More information about the Pas2js mailing list