Window and frame: reload


#1

Hi. See this example.

https://www.dataitalia.com/test1.html

The problem is: if I hide the window with the hide () API, after using the show () API to see the window again, the page in the form reloads. This is a big deal if, for example, I have a form on this page. All the data the user wrote is lost! Are there solutions for this problem? What did I do wrong?

tks in advance

Emilio


#2

This happens because when the window is showed, it is actually rebuilt using the DOMVM library used in DHX6.

In a similar situation, sematik (from official dhtmlx support) advised using dhx.Form instead of a simple HTML form: