Contents tagged with Javascript
-
Acessing ASP.NET Controls in Javascript: Best Practices
I try to spend as much time as possible on asp.net blogs and forums. I have observed many members posting part of their code on http://forums.asp.net to get the solution about the problem they are facing. One of the worst practices I have seen on forums is to use static control IDs in client script while writing javascript (I think they are getting that from ViewSource of the Page).
Static ID of the control used on asp.net page with master page looks somthing like: