Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ToggleDisplay function
Message
De
18/03/2008 12:09:36
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Client-side développement
Versions des environnements
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01302997
Message ID:
01302998
Vues:
11
This message has been marked as a message which has helped to the initial question of the thread.
>I'd like to write a ToggleDisplay JavaScript function. Currently I'm calling it as
>
>this.btnSaveProfile.Attributes["onclick"] = "ToggleDisplay('GridInfo','ProfileInfo');";
>
>There is no problem to write it as accepting 2 parameters. But how can I make it more generic to process any number of parameters and toggle the display?

Could you pass all the items separated by a comma into one string and then process each item at the function level?
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform