Archive for 'javascript'
Find IE Memory Leaks
Drip is a tool that helps developers find IE memory leaks in their code. It’s open source and available on SourceForge. Check it out or just ban IE from your website entirely using Explorer Destroyer. Kill Bill’s Browser is also a helpful resource for creating IE mayhem on your website. Better yet, switch to a […]
Posted: April 26th, 2006 under browsers, programming, mac, websites, javascript.
Comments: 3
JavaScript Namespaces
I do a lot of development in C# and have grown accustomed to namespaces for organizing code. The other day I was working in JavaScript and it hit me – I want to break up some similar functions into different name spaces. For example, if you were writing one large JavaScript file with two functions […]
Posted: March 7th, 2006 under javascript.
Comments: 2
Limit HTML Text Field To Numbers Only
Using JavaScript to limit which characters can be typed into an HTML input field is very easy. Let’s say you have a field that should only accept numbers in an HTML form. Simply attach an onkeydown event to the <input> element that checks for which key is being pressed. If the key is not valid […]
Posted: January 26th, 2006 under javascript.
Comments: none