Home > Net >  Used in winform CefSharp controls after load the HTML file, a background in c # call JS function par
Used in winform CefSharp controls after load the HTML file, a background in c # call JS function par

Time:11-20

Background the js function to the assignment page controls, preach there are more than 3000 characters, and the length of the string of application has no reaction, short of characters is normal when

Used CefSharp warrior can solve

ExecuteScriptAsync EvaluateScriptAsync two functions have no reaction, where is to set the length limit refs?

Note: CefSharp is similar to that of the control, the use of Google browser kernel

CodePudding user response:

Not have been used,,,,,,,

CodePudding user response:

Parameters passed with requirements, the string script="createInfo (' 34.368670086631 ', '112.987163409936', 'yu A2239F', 'car0-4. PNG', '38', ', 'southeast', '1')";
This. WebCom. EvaluateScriptAsync (script); Like this no problem, if you have & lt; H4 style='margin: 0 0 0 px; Padding: 0.2 em 0 '& gt; CodePudding user response:

"No response" suggest or do you use the code intercepting (click event capture some places, for example, then use the code to a & lt; The script/& gt; Tag) content of the script, and see what you write,

The browser is always ready to against illegal grammar "no response",

CodePudding user response:

Have a look at the help,
Suspect the cause of the asynchronous,
https://www.jianshu.com/p/bf3654e0e094
  •  Tags:  
  • C#
  • Related