Page 1 of 1

Re: Upload with js

Posted: Sun Feb 25, 2018 6:07 pm
by salvadordf
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

Re: Upload with js

Posted: Sun Feb 25, 2018 6:39 pm
by salvadordf
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.