Hi,
Add your code to the MiniBrowser demo and check the console inside the inspector. It may have an error message about the javascript code.
Remember that If you need more advanced JS integration you can read this :
https://bitbucket.org/chromiumembedded/ ... gration.md
The demos in the JavaScript folder have all the examples in that document :
https://github.com/salvadordf/CEF4Delph ... JavaScript
For more information about sending files using Javascript read these pages :
https://stackoverflow.com/questions/985 ... javascript
https://stackoverflow.com/questions/558 ... pload-file
https://stackoverflow.com/questions/166 ... chronously
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Upload with js
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Upload with js
Perhaps there's something missing in the HTML from.
Create a simple HTML form to send the contents of an INPUT element to the server and test it in a regular web browser.
When you can make it work in a regular web browser then try to use javascript with a CEF4Delphi browser.
Create a simple HTML form to send the contents of an INPUT element to the server and test it in a regular web browser.
When you can make it work in a regular web browser then try to use javascript with a CEF4Delphi browser.