Home > Software engineering >  The WebBrowser javascript: void (0)
The WebBrowser javascript: void (0)

Time:10-23

Use IE browser to open a web page, click on a link, in this web page will pop up a prompt dialog box, close the prompt dialog box, will go to the target page,
But if use WebBrowser in MFC to open this web page and click on the link, will pop-up prompt dialog, but close the prompt dialog box, but without any response, will not turn to the target page,
Put the mouse on this link, the status bar shows the "javascript: void (0)",
By viewing the source code, after closing the pop-up dialog box, use the "window. The location. Href" to jump to the target page,
Consult, what reason is this? WebBrowser is using kernel, IE why IE can perform, WebBrowser cannot?
  • Related