Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (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: 31
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: Thu Dec 18 20:21:50 GMT 2014

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

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