Hello everybody
I'am trying to execute JavaScript in GeckoWebBrowser
my code is :
Hide Copy Code
GeckoWebBrowser1.Navigate("javascript:void(" + TextBox2.Text.Replace("""", """""") + ")")`
my JavaScript is :
Hide Copy Code
var r = confirm("Press a button");
if (r == true) {
x = "You pressed OK!";
} else {
x = "You pressed Cancel!";
}
but it's doing nothing
can you help me please , Thanks