This is a discussion on "[SOLVED] accessing table data" within the JavaScript Forum section. This forum, and the thread "[SOLVED] accessing table data are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] accessing table data
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
[SOLVED] accessing table data
i've been trying to create dynamic links from table data
found this code online but when i try to copy it to my table it doesn't work
Last edited by c010depunkk; Dec 2nd, 2007 at 09:25. Reason: please use [html] tags when posting HTML |
|
|
|
#2
|
|||
|
|||
|
Re: accessing table data
neither starting the for-loop from i=0
|
|
#3
|
|||
|
|||
|
Re: accessing table data
not even changing the whole thing to this one
Last edited by c010depunkk; Dec 2nd, 2007 at 09:26. Reason: please use [html] tags when posting HTML |
|
#4
|
|||
|
|||
|
Re: accessing table data
i have identified the problem
in the first line of the for-loop i'm am missing the nod of <a> after cell[0] what should my script be if i wanna get the href of <a> of the <table> Thanks!
Last edited by c010depunkk; Dec 2nd, 2007 at 09:26. Reason: please use [html] tags when posting HTML |
|
#5
|
|||
|
|||
|
Re: accessing table data
solved!
replacing: audiolink = document.getElementById('lecture1').rows[i].cells[1].childNodes[0].data; with: audiolink = document.getElementById('lecture1').rows[i].cells[0].innerHTML; |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Problem accessing specific form elements | Sagaris | JavaScript Forum | 4 | Sep 23rd, 2007 11:52 |
| how access data from table in php, | azeemserver | PHP Forum | 2 | Aug 30th, 2007 11:09 |
| Accessing Data | OmiE | Starting Out | 1 | May 9th, 2007 20:22 |
| ACCESS: one table one data,and only one! | Monie | Databases | 1 | Aug 2nd, 2004 09:00 |
| ACCESS: one data in one table | Monie | Classic ASP | 1 | Aug 2nd, 2004 08:52 |