开发者

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

开发者 https://www.devze.com 2023-03-24 19:14 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
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

精彩评论

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