141
rated 0 times
[
144]
[
3]
/ answers: 1 / hits: 25913
/ 12 Years ago, sat, december 1, 2012, 12:00:00
Possible Duplicate:
document.all vs. document.getElementById
I'm refactoring some old code written by somebody else. And I came across the following snippet:
if (document.all || document.getElementById) {
...
}
When will the code within the if-statement be executed?
Thank you!
More From » getelementbyid