Type: Posts; User:
The following code gives me a really weird error in Firefox:
Interesting. Then how can I nullify/change the object inside the function?
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...
I do, but I had no idea it returns me a reference... It's not specified in any of the books I read on the subject.
I guess I never noticed it since I don't use div.name. Instead I use getAttribute.
Have anyone seen this weird issue.
I guess you can call it that way
Reference? What does getElementsByTagName return? A list of references?
Also, my dynamically created pages contain a huge number of div elements, which makes getElementsByTagName slow down the...
Why not? from what I can see, all browsers support it.
I would like to understand how elements behave after they were appended to the page.
var newElem = document.createElement("div");
Can I also call the getElementsByTagName() from a DocumentFragment?
var temp = document.createDocumentFragment();
var listOfElems =...
Is there a way to know where the function was called from, the name of the calling function for example?
Anywhere inside the frame.
The entire frame is the editor itself.
It not a textarea. It's the page itself.
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.
I did a long research into the...
But does onkeyup provides me with the same key value as onkeydown?
The feature I'm working on is a rich text editor, that I'm writing text to it by receiving input from the keyboard and displaying...
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 tried that... But when I do:
where = document;
It gives me an error stating that this is an unknown function.
I have a function that is currently calls the following:
I would like to make this function more dynamic by allowing the developer to call the...
If all you really need is to reload the page... You can play with delay timers or perhaps you can check where you were referenced from.
If you're talking about the actual button on the browser, then you can't change it to do something else.
What do you mean by "back arrow" ?