Export to GitHub

executejs - issue #10

Failure to use extension


Posted on Dec 19, 2009 by Quick Panda

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?

Status: New

Labels:
Type-Defect Priority-Medium