Is there a way to save the changes like changing the background of HTML text that span over multiple tags so that when it is loaded again the changes made should be reflected in the HTML page.  EDIT: Detailed explanation.  When the HTML page is loa...
I select some text on the html page(opened in firefox) using mouse,and using javascript functions, i create/get the rangeobject corresponding to the selected text.    userSelection =window.getSelection();   var rangeObject = getRangeObject(userSele...
There are so many issues with contenteditable divs and deleting html and/or non content editable content inside editable divs.  Using an answer by the excellent Tim Down here: How to delete an HTML element inside a div with attribute contentEditable?...
Does anyone know of any cross-browser user selection range libraries written in javascript?  I found a few jQuery plugins, (which quite frankly are too limiting and very buggy).  I would just like to know what you have found out there. Don't send...
In javascript how to convert sequence of numbers in an array to range of numbers?  eg. [2,3,4,5,10,18,19,20] to [2-5,10,18-20]...
When selecting texts in HTML documents, one can start from within one DOM element to another element, possibly passing over several other elements on the way. Using DOM API, it is possible to get the range of the selection, the selected texts, and ev...
I'm looking for a way to set a selection in a textarea in Internet Explorer. In other browsers, this works just fine:  textarea.selectionStart = start; textarea.selectionEnd = end;   In IE, I assume I have to use createRange and adjust the select...
I'm forgetting about cross-browser compatibility for the moment, I just want this to work. What I'm doing is trying to modify a script (and you probably don't need to know this) located at typegreek.com The basic script is found here. Bas...
<---------[]=====================================[]-------->  0         10                                     90       100   I need an input range slider with two handles to select a range, and the ability to drag the range (the equals signs i...
I'm trying to implement something like Twitter's tweet box, specifically:   Automatically highlights text in a red background when the overall length exceeds 140 characters. Automatically highlights links, mentions, and hashtags in blue.   Th...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.