Find a control in javascript (Ajax ASP.Net)
To find a control with id "MyControl" us the function $get.
Example:
alert($get("MyControl").id);
Thoughts, Tips and Tricks on what I'm currently do for a living. I have a Swedish version of this blog as well.
alert($get("MyControl").id);
Posted by
Håkan Canberger
at
1/31/2007 06:08:00 PM
2 comments:
Pretty useless example
Well... Why create an elaborate example just to show something that's really easy. I wrote this because many don't know how easy it is to find a control on the client side in asp.net ajax.
What kind of example were you hoping to find?
Post a Comment