Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » JSDT element v node?
JSDT element v node? [message #221275] Fri, 12 September 2008 01:08
Robert Mark Bram is currently offline Robert Mark BramFriend
Messages: 32
Registered: July 2009
Member
Hi All,

In a JSDT project I have the following Javascript:

var tableBody = document.getElementById("optionsTable").lastChild;
var rows = tableBody.getElementsByTagName("TR");

The code works and is valid as far as I can tell, but I see the following
error:

The function getElementsByTagName(String) is undefined for the type Node

This error is related to tableBody.

Is this a bug?

Rob
:)
Previous Topic:XML Validation via local XSD file
Next Topic:IValidatorJob not running anymore
Goto Forum:
  


Current Time: Fri Apr 19 09:16:05 GMT 2024

Powered by FUDForum. Page generated in 0.02116 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top