NetTalk Central

Author Topic: Insert XHTML the right place  (Read 3439 times)

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Insert XHTML the right place
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Insert XHTML the right place
« Reply #1 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