Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for quick javascript function help

Current License: CC BY-SA 2.5

8 events
when toggle format what by license comment
S Dec 18, 2009 at 18:48 vote accept Community Bot
Dec 18, 2009 at 18:41 vote accept Community Bot
S Dec 18, 2009 at 18:48
Dec 18, 2009 at 16:34 comment added Andy E Using document.getElementById(el).innerHTML += "..." in a for loop is very inefficient because you are invoking the HTML parser many times. It's better to assign the HTML to a variable and then apply the variable to the innerHTML property once after the loop has finished, thus invoking the parser only once. Just a suggestion :)
Dec 18, 2009 at 16:21 answer added James timeline score: 3
Dec 18, 2009 at 16:16 answer added Patrick timeline score: 0
Dec 18, 2009 at 16:16 answer added Ryan timeline score: 0
Dec 18, 2009 at 16:15 answer added dcp timeline score: 5
Dec 18, 2009 at 16:12 history asked user188962 CC BY-SA 2.5

AltStyle によって変換されたページ (->オリジナル) /