textnode
Is there a way selecting MULTIPLE areas of text with JS in Chrome and/or IE?
Firefox 3 can select MULTIPLE areas of text with JS. Is there a way doing this in Chrome and IE? I really tried to find a way to select of multiple[详细]
2023-02-10 01:16 分类:问答JavaScript: Add elements in textNode
I want to add an element to a textNode. For example: I have a function that search for a string within element\'s textNode. When I find it, I want 开发者_Go百科to replace with a HTML element. Is there[详细]
2023-01-20 06:49 分类:问答JS DOM: Get elements by text content
I am looking for a way to perform fulltext search on the DOM tree with JS. In two words, I would like to retrieve the list of text nodes which contain a given string.[详细]
2022-12-29 08:19 分类:问答javascript innerHTML without childNodes?
im having a firefox issue where i dont see the wood for the trees using ajax i get html source from a php script[详细]
2022-12-27 04:38 分类:问答Phone number transformation. Separate prefix in brackets
There is an element: <phone>(987) 123-45-67</pho开发者_开发知识库ne>. It is necessary to transform it in: <span><small>(987)</small> 123-45-67</span>.[详细]
2022-12-26 14:49 分类:问答JavaScript: How to get text from all descendents of an element, disregarding scripts?
My current project involves gathering text content from an element and all of its descendents, based on a provided selector.[详细]
2022-12-24 17:22 分类:问答Dom Nodes manipulations, how remove tags which wrap my selection?
I try to explain you my \"problem\". I would like to know when I select a part of text, if this text is “wrapped” by html tags, and in function delete them.[详细]
2022-12-23 02:56 分类:问答When a mousedown and mouseup event don't equal a click
I\'ve been usin开发者_运维百科g some buttons for a while now that have a depressed effect as they are clicked using position relative and a top: 1px in the :active pseudo-class.[详细]
2022-12-17 21:56 分类:问答