I've created a simple html webpage. Users need to select text like 1.23, and drag/drop it into another browser. That all works perfectly. (I didn't need to write ANY code in order to get that to work. I assume that's all part of the browser's built-in features.)
I need to round off that number to 1.5. I have NO trouble doing the rounding, but how can I catch (and change) the value during the dragging? I don't want to change the value in the first browser, it needs to stay as 1.23... I only need to do the rounding between the drag-start and the dropping, into the 2nd browser window.
Can that be done? I would post some code, but like I said this all works without any code... except for the "change while dragging part".
I'd rather write my own code and not drag in massive code libraries like jquery just for this 1 tiny feature.