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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Last Object In A Table...

Status
Not open for further replies.

DigitalBoy

Programmer
Oct 11, 2000
87
US
I have a dynamic script that creates X amount of the following tags within a one cell table:

<a href=&quot;&quot;>TEXT</a><br>

How would I write an onChange() to check to see if each tag was the LAST tag within that table? This should be configured for NS. Thanks in advance.

- DB

dgtlby@excite.com
Administrator

UBB Developers Network

 
don't think you can do that in Netscape 4. You could edit the script that generates the tags to save a global reference to an anchor object and access it with document.anchors I think. jared@eae.net -
 
See, that's our thinking too. The guy who wrote the generation script is going to consider how to do it so that we can add a name attribute, but until then, I think I'll have to go through the generated pages and just hard-code the javascript in. Granted, right now, that's only two pages, so it's not a big deal. That's for clarifying that for me.

- DB

dgtlby@excite.com
Administrator

UBB Developers Network

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top