ForrestLedbetter.com Rotating Header Image

Posts under ‘Javascript’

Name Mangling, Solution 2

Here is a much cleaner solution. Instead of having to modify all of your javascript calls to use a new function to get elements by partial id or name, you can put a recursive function in the Master Pages onload, which will walk through all the controls and create a javascript variable named with the [...]

Name Mangling, Solution 1

UPDATE: NEVER DO THIS! This is a horrible suggestion, and should never be attempted by any sane person. I know, I know…I wrote it. I should delete it, but no… This is just another step in my learning process. If you take anything from this post, view it as what NOT to do. ASP.Net’s implementation [...]