J
jen_designs
There is s function in mozilla called setSelectionRange where you set a
start point and an end point for text to be highlighted in an input
box. Is there a getSelection range that can tell me the character
position that a user highlights in mozilla? Say there is a sentence,
dhtml rules, if the users highlights dhtml, then the start point would
be 0 and the end point would be 4. Any thoughts?
start point and an end point for text to be highlighted in an input
box. Is there a getSelection range that can tell me the character
position that a user highlights in mozilla? Say there is a sentence,
dhtml rules, if the users highlights dhtml, then the start point would
be 0 and the end point would be 4. Any thoughts?