Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find control by type
Message
 
 
To
26/01/2009 23:06:21
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01376812
Message ID:
01377229
Views:
24
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform