zephyrer / executejs

Automatically exported from code.google.com/p/executejs
0 stars 0 forks source link

Failure to use extension #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have html with element having id=“mojid“
2. Try to execute document.getElementById('mojid').innerHTML = 'Fred
Flinstone';
3. Try not to get: TypeError: document.getElementById("mojid") is null

What is the expected output? What do you see instead?
In order to familiarize my self with this extension I tried test by
FireBug-ed google.com's html so its <body> has id=“mojid“, and tried to
execute:
document.getElementById('mojid').innerHTML = 'Fred Flinstone';
As a result I received: TypeError: document.getElementById("mojid") is null

What version of the product are you using? On what operating system?
0.2.3
XP pro. 2002, SP3
AMD XP 1600+ 1,40GHz, 512 MB-Ram
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.6) Gecko/20091201
Firefox/3.5.6

Please provide any additional information below.

Am I doing something wrong, or I have unrealistic expectations from this
extension?

Original issue reported on code.google.com by vskar...@gmail.com on 19 Dec 2009 at 7:28