The word 'undefined' appears as the first element in a UL (before the first LI) on my web page. It is not in my source anywhere. Why is it appearing? How do I get rid of it?!
Inspecting the element at runtime on the page, I see this:
I've tested on IE8, Chrome, Safari, Firefox and Opera but it appears on all.
Help!
Inspecting the element at runtime on the page, I see this:
Code:
<ul id="foo">
"undefined"
<li id="bar">
[... some stuff here ...]
</li>
[... more LI elements here ...]
</ul>
I've tested on IE8, Chrome, Safari, Firefox and Opera but it appears on all.
Help!