I have HTMLDocument object and I explictitly write HTML code to it
m_spDoc->write( . . . )
if my HTML code contains embedded javascript functions and some of them use
"alert" then Javascript alert windows appears. I do need the javascript code
to be executed, but I want to control alert and pop-up windows that might
appear. I cannot use WebBrowser control for some reason and I am looking for
the way to implement IDocHostShowUI and IDocHostUIHandler for HTMLDocument,
but not a complete webbrowser.
Re: Creating popup using DOM and *no* html src ... > up security warnings in some cases. ... It's eminently clear that if javascript is running, ... With the alert line there, ...function dlgShow() { ... (comp.lang.javascript)
Re: [Full-Disclosure] !A stupid bug ...that works on mozilla, opera, IE! ... > mozilla saying that the alert function isn't finished with a) ... Although the STYLE and SCRIPT elements use CDATA for their data ... Thus, even with correct quotes, the JavaScript code will be ... in the browser window.... (Full-Disclosure)
Re: Confirming postback from javascript ALERT? ... So, sounds like I should just co-opt the autopostback javascript, modify to add the alert, and then attach that manually to the DLL. ... They were actually developed at a time where not debugger was available for client-side JavaScript, to help developers to debug their code. ... Thus, it's very important that the lease s renewed periodically, or else the user might lose the license and its privileges. ... (microsoft.public.dotnet.framework.aspnet)
Re: Continuous communication between user, CGI script and server ... unputs and then spits back HTML code to the user. ... to your server-side app.... which the JavaScript will then use to update the page ... Web Hosting by West Virginians,... (comp.lang.perl.misc)
Re: Ajax and javascript code response ... Problem is that on IE or Opera, javascript code isn't launched. ... Are you saying that Firefox gives you the alert?... (comp.lang.javascript)