Posted on June 25, 2007 by timchalk
Last week I was banging my head against the door trying to perform the simple task of getting a button to submit a form using JavaScript. Normally this wouldn’t present a problem and is accomplished quite easily by adding an onclick event to the button which runs the following JavaScript…
document.forms[0].submit();
However both Internet Explorer and Firefox [...]
Filed under: Browser quirks, HTML forms, JavaScript | 1 Comment »
Posted on June 21, 2007 by timchalk
Do you like to have your taskbar buttons ordered in a specific way? Do you get annoyed when your taskbar buttons get out of order due to an Explorer crash or accidentally closing an application and having to reopen it? Well, I have a solution!
Just download a handy free utility called Taskix and launch the [...]
Filed under: Windows | Leave a Comment »
Posted on June 20, 2007 by timchalk
I ran into a problem today with my wizard style forms whereby pressing the Enter key would cause the wizard form to go to the previous page rather than the next one – not exactly desirable behaviour!
It turns out that when there are multiple submit buttons on a form the browser will select the first [...]
Filed under: Browser quirks, CSS | Leave a Comment »
Posted on June 18, 2007 by timchalk
I had a simple login form, consisting of username and password fields, which when submitted with the incorrect details would select the contents of the username field using the JavaScript select() command and prompt the user to correct their entry, but when pressing tab to jump to the next field, focus would jump to the [...]
Filed under: Browser quirks, JavaScript | 2 Comments »