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 [...]

Actually, I had two forms on the same page, one with the GET method (let’s call it get_form), the other with the POST method (we’ll call it post_form). When I pressed the submit button of get_form it seemed that the post_form got submitted. In fact, all the variables in get_form and post_form were passed with [...]

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, [...]