Forum Moderators: open
document.createElement('li').setAttribute('value', 'KillIE7');
The same works fine in Firefox. Is this an IE bug, or is there something wrong with setting the value attribute on a <li>? The getAttribute function works fine, and setAttribute works for any other attribute or for any other tag!