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

newbie Question 1

Status
Not open for further replies.

rqmedes

Programmer
Jun 22, 2002
6
AU
HI All

I have hunted around and cannot find a solution to i am sure will be a very easy question relating to cross browser support

i have a table where i have assigned a refence link_to

<table border="0" cellspacing="0" cellpadding="1" width="100%" class="report_table" id="table1" link_to="test.php">

in IE i can

get the table and
alert(this.link_to) and it iget the correct result
test.php

in mozilla no matter what i try i cannot seem to reference link to

any help appreciated


thanks in
advance
 
Refer to it instead using getAttribute() like this:
[tt] document.getElementById("table1").getAttribute("link_to")[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top