NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Niels Larsen on January 12, 2017, 06:20:29 AM

Title: Insert XHTML the right place
Post by: Niels Larsen on January 12, 2017, 06:20:29 AM
Hi

My scene: Normal popup-form called from a browse.
I would like to insert some xhtml after the <div id="xxxxxform_div"></div> (see attached image)
I think that I have tried every embed there is, but no luck.

Can anyone guide me?

Regards Niels
Title: Re: Insert XHTML the right place
Post by: Bruce on January 13, 2017, 07:59:35 AM
There's a bunch of wrapper HTML there to do with the Dialog itself.
Probably the best place to embed code (depending a bit on what exactly you are trying to do...) is in the
GenerateForm  routine
before the opening of the <form> tag. ie before

  packet.append('<form action=....

Cheers
Bruce