removeAttribute ON IE6
i used removeAttribute to remove a onclick attribute on a form so that i can attach a event to it instead.
works on FF doesn't on IE, has to remove hte onclick event by x.setAttribute('onclick','');
i used removeAttribute to remove a onclick attribute on a form so that i can attach a event to it instead.
works on FF doesn't on IE, has to remove hte onclick event by x.setAttribute('onclick','');
Something weird happened when i was testing SOPHIA in IE6
i found that a portion of my javascript wasn't executing, so i looked through the code and narrowed it down to one of my functions called "toggle_archive"
i defined it as below because its loaded via ajax.
toggle_archive=function(prop) {}
now this works absolutely fine in FF
so i put some alerts before and after the function, and as you guessed it, the rest of the scripts are not evaluated after that.
try it out on both IE and FF and tell me if it works.
Note to self ALWAYS attach event observers AFTER method declaration.
will never work otherwise, go figure.