Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Content assist not working for document.getElementById(Content assist not working for document.getElementById)
Content assist not working for document.getElementById [message #903529] Fri, 24 August 2012 07:22 Go to next message
Cool Dude is currently offline Cool DudeFriend
Messages: 1
Registered: August 2012
Junior Member

I have Eclipse Juno release with WTP. I have created a new JavaScript file. When I am typing following line of code:


I am expecting "style" would appear in content assist. But it doesn't appear. Is this a bug or currently-not-supported-feature?

Similarly, once I manually type in "style." then "height" also doesn't appear.

My final line looks like this:
document.getElementById("myImage").style.height = "100px";

P.S.: I am new to JavaScript.

Re: Content assist not working for document.getElementById [message #910626 is a reply to message #903529] Mon, 10 September 2012 05:55 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3170
Registered: July 2009
Senior Member

It's a not-supported feature, as we can't tell which (if any) web page you're being called from.

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Content assist not working for document.getElementById [message #1075629 is a reply to message #910626] Mon, 29 July 2013 19:30 Go to previous message
Miguelángel Fernández is currently offline Miguelángel FernándezFriend
Messages: 1
Registered: July 2013
Junior Member
I believe the problem here lack of support for DOM elements in javascript editor's content assist.
I'm having a similar issue. Content Assist is limited to control sentences.
I've tried installing Aptana plugin, but for some reason I can't get content assist to work. Does anyone know if there is another plugin we can try?
Previous Topic:Problem with Tomcat in Eclipse
Next Topic:Eclipse JSF 2 download Mojarra problem
Goto Forum:

Current Time: Mon Jun 18 04:06:50 GMT 2018

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

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

Back to the top