Problem: The <base href=”http://example.com/path/to/res/”>  did not work at all on Internet Explorer – no javascript or style files were loaded and worked partially in Mozilla Firefox – a few javascript files were not pointing to the path that should be transformed by base href attribute. Example: Array( [0] => 1 ) <!DOCTYPE html PUBLIC “-//W3C//DTD [...]

Full error message:  Object doesn’t support property or method. I got this error message in Internet Explorer 7 every time i tried to run code similar to the next snippet: window.opener.form.select[select.length]  = new Option(text, value); The problem is that on Internet Explorer due to some mysterious security restrictions you are not allowed to add new [...]

I tried to use the pngFix from this website: http://jquery.andreaseberhard.de/pngFix/. But it didn’t work and i received an javascript error in IE6. After several minutes of debugging and tries i found out that the error is generated by old syntax in selecting elements. It used jQuery(this).find(“img[@src$=.png]“).each(…); instead of jQuery(this).find(“img[src$=.png]“).each(…); So the fix is: Remove the [...]

My solution of checking/unchecking a group of HTML checkboxes using Javascript implies using an array of checkboxes, which means naming all the inputs of type ‘checkbox’ like array_name[]. Example: <form name=”cb_form”> <input type=”checkbox” name=”cb[]” value=”0″ />Zero <input type=”checkbox” name=”cb[]” value=”1″ />One <input type=”checkbox” name=”cb[]” value=”2″ />Two <input type=”checkbox” name=”cb[]” value=”3″ />Three </form> In this example, [...]