Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enable and Disable Textboxes without reposting
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01585738
Message ID:
01585747
Vues:
30
>I think maybe this task at hand will motivate me to learn jQuery or some other Javascript tool. Here is what I am trying to do:
>
>An aspx page has a bunch of textboxes and dropdown controls. Initially all controls are disabled. User should be able to click on a button and set all controls to be enabled. I would prefer not to repost the page. So is there a way to change the Enabled attribute of all textboxes without reposting the page?

jquery and css selectors

$("input").prop('disabled', true);
$("input").prop('disabled', false);
Brandon Harker
Sebae Data Solutions
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform