2010-06-28 5 views

Répondre

4

Fonctionne avec la méthode Naviguer(). Je viens de l'essayer avec l'émulateur Windows Mobile 5.0 Pocket PC.

Par exemple:

webBrowser1.DocumentText = @"<html><head> 
      <script type='text/javascript'> 
       function doIt() { 
        alert('hello again'); 
        return 'i did it!'; 
       } 
      </script> 
      </head><body>hello!</body></html>"; 
webBrowser1.Navigate(new Uri("javascript:doIt()")); 
Questions connexes