Order of actions
Sometimes, I've found it's necessary to perform certain actions in a particular order, even if it doesn't make sense. Here's one case.
document.getElementById('modify_group_user_button').removeAttribute('disabled');
document.getElementById('modify_group_user_button').removeAttribute('onClick');
document.getElementById('modify_group_user_button').setAttribute('type','submit');
I had these three lines in a different order, and IE7 was throwing an error. Firefox on the other had played nice and behaved as expected.
I'm not sure what was going on, but this is more or less a reminder that if you get strange errors, think about the order of actions you are performing.
[Click to add or edit comments])
Please prepend comments below including a date