Access the html form element
-
wrote on 12 Jun 2018, 06:29 last edited by FVKamlesh 7 Sept 2018, 16:01
Hello Everyone,
I have designed a web page form with javascript and css files. The files are kept at /var/www/html and is run through apache server.
The screenshot attached will display the webpage .I am stuck on how to access the textfields on the Qt code. I have developed a browser using the QtWebengine and running Qt5.9 .
-
Hello Everyone,
I have designed a web page form with javascript and css files. The files are kept at /var/www/html and is run through apache server.
The screenshot attached will display the webpage .I am stuck on how to access the textfields on the Qt code. I have developed a browser using the QtWebengine and running Qt5.9 .
Moderatorswrote on 12 Jun 2018, 06:39 last edited by raven-worx 6 Dec 2018, 06:39@FVKamlesh
with JavaScript. If you just want to manipulate the content see this example
If you want to communicate with your C++ backend from within >JavaScript use QtWebChannel -
wrote on 13 Jun 2018, 10:48 last edited by
Thanks for sharing the link about QtWebChannel. I have accomplished the task and it works like a charm.
Thanks a lot
2/3