Home > .NET > Prototype like function for ASP.NET

Prototype like function for ASP.NET

July 24th, 2007

dotnetToday I searched for a way to address an element in an ASP.NET page by JavaScript. My problem was that the ASP elements do not keep their given ID - it is transformed into something like ctlXY_blabla_andSoOn. I found that Bill Pierce wrote a nice little function that acts like the $() function of Prototype for ASP elements: $n() - see the code on his blog.

.NET



  1. No comments yet.
  1. No trackbacks yet.