Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Executing some Javascript code
Message
De
05/11/2004 12:01:58
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Titre:
Executing some Javascript code
Divers
Thread ID:
00958561
Message ID:
00958561
Vues:
53
In a Web forms, from an ASP.NET code, I wish the button to change text and to execute some Javascript command. So far, I have this:
    Private Sub ShowText_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ShowText.Click
        ShowText.Text = "Michel"
    End Sub
This works. When I click on the button, the text of the button is changing. But, additionnaly to that, I wish to show a Javascript alert box for example. What else would be required at this point to achieve that?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform