开发者

Why are events not firing like onkeyup, onkeypress, onmouseup? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11开发者_开发知识库 years ago.

Here is a jsfiddle example of what I am working on: http://jsfiddle.net/bdijVd/2/. Why don't the text fields update?


In Chrome, the events work but you see nothing because of the error:

Uncaught TypeError: Object [object DOMWindow] has no method 'getBrowser'

Thrown on line 38:

document.getElementById('txtarea').innerHTML = ("<b>" + tagline + "</b>" + "</br >" + "<br />" + "<i>" + "<u>" + author + " " + date + "." + "</u> " + author + " (" + credentials + ") " + date + " " + publication + " " + title + " " + (window.top.getBrowser().selectedBrowser.contentWindow.location.href) + "</i>" + "<br />" + "<br />" + evidence);


In FireFox, your format() function is throwing the error Permission denied to access property 'getBrowser'.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜