Jambalaya wrote:
> On Oct 8, 8:47 am, RichardOnRails wrote ...
> You made a mistake. You commented out this line:
>
> // var arElements =
document.getElementsByTagName(sType)
>
> But you left this line uncommented:
>
> var iCount = arElements.length
>
> So 'arElements' is not defined and then you are trying
to get the
> length property. Javascript just stops processing.
Strangely, IE
> didn't report an error. Firefox's error console did
though.
>
> Comment out that line and then it should work.
Thanks. After I looked at it, I realized I left old code
in the
script as I copied and pasted in the process of trying to
improve it.
Best wishes,
Richard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "JavaScript Forum" group.
To post to this group, send email to
JavaScript-Information googlegroups.com
To unsubscribe from this group, send email to
JavaScript-Information-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/JavaScript-Information
?hl=en
-~----------~----~----~----~------~----~------~--~---
|