Closed Bug 287298 Opened 20 years ago Closed 20 years ago

javascript won't find a div element on one page, but works for all others.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ricky.leverence, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1

A javascript function is unable, for an unknown reason, to react with an element
on the page.  A simple check in the Javascript console shows the following:

Error: vanisher is not defined
Source File: javascript:dispHandle(vanisher)
Line: 1

This is odd, however, since the element vanisher exists, as does the function
itself.  Also, this script works on many other pages using this exact same code.

Reproducible: Always

Steps to Reproduce:
1. Open http://www.politicalanalyst.net/wordpress/
2. Click on 'Hide Show' on the right hand side of the page, under Search
3. Open http://www.politicalanalyst.net/wordpress/hidetest.html
4. Click on the 'Hide Show' link.

Actual Results:  
In the first result, the text does not hide.  In the second result, the text
disappears.

Expected Results:  
Both results should disappear, as they use identical code.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.