[nycphp-talk] more on document.getElementById("Div" + count)
Peter Sawczynec
ps at pswebcode.com
Wed Aug 2 17:41:33 EDT 2006
Further re JavaScript dev:
Both the Netscape and Firefox JavaScript Console may reveal more
illuminating
error information on failing scripts.
Peter
-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of R. Mariotti
Sent: Wednesday, August 02, 2006 12:10 PM
To: talk at lists.nyphp.org
Subject: Re: [nycphp-talk] more on document.getElementById("Div" + count)
Thanks for the responses so far with this issue.
Both Ed and Rob had some ideas that I've pursued but still could not
find anything that would cause this error based on their recommendations.
Rob was correct in that I'm supplying a namee Div whose style is set to
style.display='none' and I am then wishing to make it visible.
And yes, I am the one naming the Divs with the simple and required
convention of Div1, Div2, Div3, etc. However, in this case there is
only ONE Div named Div1.
The js module failing can be downloaded/viewed from >
http://www.openwebware.com/products/openpopups/download.shtml
and it is FREE so there's no worry. I've queried the author who claims
that because he cannot duplicate the error I am receiving he cannot
diagnose it. OK - then perhaps someone else might be able to. But I
know that I seemingly cannot.
If Ed, Rob or anyone is willing to take a look, it will be significantly
appreciated.
The module is loaded with a <script src=... in the header of my output
and referenced first by <body onload=... to close the area then
onClick=... when "asked" to actually display the window/box.
Hope someone can make some sense of this.
Thank you,
Bob
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
More information about the talk
mailing list