I had an ASP.NET form, where I wanted a quick Javascript function to un-check a CheckBox if the user changed the selection in a related DropDownList. Restated, I wanted any change in the DropDownList's selected item to clear the CheckBox. The user could then (if needed) re-check the CheckBox once they're done selecting from the DropDownList.
Adding the javascript onchange() event to the DropDownList's attributes from the ASP.NET class file turned out to be the easy part. In Page_Load():
this.ddTeams.Attributes.Add("onChange", "uncheckbox()")
Even though I've been using Firefox as my primary browser for months now, I still haven't spent much time checking some of my old (but production) code for compatibility. After taking a quick look, I can't believe customers haven't complained...
In that context, I noticed that Firefox doesn't respect the 'width' setting for the ASP.NET TextBox control. IE handles this just fine, but FireFox (and probably other browsers) just stick with the 'default' TextBox width, which is often too long/wide.