Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"undefined" appearing on page - why?

Status
Not open for further replies.

PGO01

Programmer
Jan 8, 2008
156
GB
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:
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!
 
Yeah you're right, I've disable javascript and it doesn't appear... time to find the little blighter.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top