What's wrong with the following piece of JavaScript?
pbar.wait({
interval:200,
increment:15,
});
document.myform.myaction.click();
Well, nothing according to FireFox.
Internet Explorer doesn't like it though: "expected identifier, string or number". It turns out that the extra comma after "increment:" throws IE off. Debugging JavaScript used to be a total nightmare 5 years ago, but tools like FireBug and www.jslint.org made development a lot more productive.