Information générale
Catégorie:
Formulaires Web
>>Maybe if you have the script function in the html header you can fire it with DOM,like :WebBrowser.Document.Script.MyFunction, after you are filling the document with new data/innerHTML.
>
>Well, I did try this approach as well. While nothing was changing, I checked the WebBrowser.Document.Body.OuterHTML and found that my HEAD element was missing. So, I tried WebBrowser.Document.DocumentElement.OuterHTML and I was seeing the HEAD element but only the default. It seems that when an InnerHTML is associated to a Web Browser control, whatever is HEAD written is not processed. So, that approach didn't work as well.
What if you add new items to the top of the page?
BOb
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement