Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find control by type
Message
 
 
À
26/01/2009 23:06:21
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01376812
Message ID:
01377229
Vues:
16
>>See this blog too http://weblogs.asp.net/SteveWellens/ (the second blog).
>
>I am not sure what you want me to look for at that page. Can you explain more?

The second blog lists this
Here is my first jQuery code: 

    <script type="text/javascript" src="jquery.js"></script>             <script type="text/javascript">         // ---- After document is loaded, run this -----         $(document).ready(            function()            {                               MyJScript();            }        )         // ---- MyJScript -------------------------         function MyJScript()        {            // get all TextBoxes with class MyInput            var TextBoxes = $(".MyInput");             // if any TextBoxes are blank, set the            // background color to yellow            TextBoxes.each(                function Yellowize()                {                    if (this.value == "")                        this.style.backgroundColor = "yellow";                }            )        }     </script>
which I think somehow related to your problem, though it shows how to find controls of certain type in client-side code.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform