Jump to content

how can i use js to take a text which is highlighted on a web page as a string


jd2007

Recommended Posts

perhaps you can use an event listener to record the movement of the mouse to find out where to insert the [b/][//b] for example on mousedown to indicate the begining of the string and onmouseup where the end of the string is, i have no idea if this would work or whether recording this kind of the data would be useful in a textbox but its a hint? I suck at javascript  :D

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.