Javascript and Ajax GOTCHAs

IE8

  1. Naive setting of innerHTML does not work. Always use jQuery's .html function, e.g. $('#myElementId').html('some html string').
  2. OPTION tags must have a VALUE attribute. Without this, passing the option item to a javascript function will always pass a null value.