Search:

Type: Posts; User: akhileshbc

Search: Search took 0.08 seconds.

  1. Replies
    5
    Views
    1,541

    Re: HTML Parser using java script

    You are welcome. :)

    If your problem is solved, then you could mark this thread as RESOLVED.

    Also, if you find any of my posts helpful to you, you could show your appreciation by clicking on the...
  2. Replies
    5
    Views
    1,541

    Re: HTML Parser using java script

    Maybe there's a better way than this:
    var rows=document.getElementsByTagName("tr"); // get all "tr"s
    var tds=rows[0].getElementsByTagName("td"); // get all "td"s from the first "tr"
    ...
  3. Replies
    5
    Views
    1,541

    Re: HTML Parser using java script

    Since you have several <td> tags, document.getElementsByTagName("td") would return an array.

    An example would be:
    var columns=document.getElementsByTagName("td");
    alert(columns.length); //...
Results 1 to 3 of 3



Click Here to Expand Forum to Full Width