This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 234982 - innerHTML property in .js file
Summary: innerHTML property in .js file
Status: RESOLVED WORKSFORME
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3.1
Hardware: PC Windows 8
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-26 00:09 UTC by pepebeans
Modified: 2013-08-27 06:24 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pepebeans 2013-08-26 00:09:54 UTC
When coding javascript in a .js file, the method "innerHTLM" does NOT come up as a suggestion after you press the "." key.

I have used it with an <a> object.
This is the bit of code in the .html file:

    <a id="a1" href="http://www.foo.com">link_to_foo</a>

This is the bit of code in the .js file:

    x = document.getElementById("a1");  
    x.innerHTML= "foo";

The file is well linked to the html document, using the <script> tag.


Many thanks to whoever adds this new enhancement!!
Comment 1 Vladimir Riha 2013-08-27 06:24:51 UTC
Works fine in 7.4 Dev, you can try dev nightly build from [1]. Thank you for reporting.

[1] http://bits.netbeans.org/netbeans/trunk/nightly/latest/


Product Version: NetBeans IDE Dev (Build 201308260001)
Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b39
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)