javascript error (dynamic table generation)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #31
    Originally posted by yoshimishu
    Hey I am getting the code right in FF but IE shows some error when I add this line:
    [CODE=javascript] disp+="<tr><td> Author</td><td>"+n.getE lementsByTagNam eNS("http://purl.org/
    dc/elements/1.1/","creator" )[0].firstChild.nod eValue+"</tr></td>"[/CODE]

    IE says document does not support this property.
    I don't think IE supports namespaces - you'll have to stick to getElementsByTa gName only.

    Comment

    Working...