How can I prevent the user from highlighting text in the page?
I would like to take control over the way the user marks the text in the page, but before I can do that, I must disable the...
Have anyone seen this weird issue.
I have javascript errors in my page, but IE doesn't show them to me when the pages are displayed using iFrames, the javascript code simply stops working... No...
I would like to understand how elements behave after they were appended to the page.
var newElem = document.createElement("div");
document.appendChild(newElem);
As I said, I'm working on a rich text editor, using the captured events from the keyboard (after horrific mapping :)) and displaying them on the screen as html.
This part of the system is extremely complex because there is no real standard to keyboard input, every browser on every OS does whatever they want... You just can't be sure what was actually pressed...
I have a JavaScript application that receives keydown and keypress events from the user. The application works great in IE, Firefox, Safari and Chrome, yet it acts weird under Opera.
I have a function that is currently calls the following:
document.getElementsByTagName(tagName);
I would like to make this function more dynamic by allowing the developer to call the...