Question T14487
Visible to All Users

How to get panel HTMLElement

created 2 years ago

It seen like all properties bind in data-bind,I can't use document.querySelect("idname") to get dom

Clipboard-File-1.png

Answers approved by surveyjs Support

created 2 years ago

Hello,
You can obtain a Panel HTML element within the survey.onAfterRenderPanel event. Please let me know if this option works for you.

    Comments (2)

      Thanks! It works.
      By the way, can you provide an example of how to store the question's json to mysql

        Hello,

        I created a separate ticket on your behalf: T14519: How to store the question's json to mysql. We placed it in our processing queue and will process it shortly.