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] Thu, 11 September 2008 21:08
Robert Mark Bram is currently offline Robert Mark Bram
Messages: 22
Registered: July 2009
Junior 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 Aug 29 01:28:41 EDT 2014

Powered by FUDForum. Page generated in 0.02682 seconds