Käynnissä

Focus on end and beginning of a contentediatabel div

I would like two JavaScript methods

1) Set focus on a contenteditable div, and set the cursor at the very beginning of the contenteditable div, no matter what content is in the div. It should just be a cursor, not spanning anything inside the selection.

2) Set focus on a contenteditable div, and set the cursor at the very end of the contenteditable div, no matter what content is in the div. It should just be a cursor, not spanning anything inside the selection.

Both methods have to work in IE 6+, FF 3+, Safari 4+, Chrome and Opera 9+

They can be combined into one function that takes a position argument "end" or "beginning"

Taidot: Javascript

Näytä lisää: javascript focus beginning, div focus end, javascript contenteditable focus opera, opera contenteditable set focus, contenteditable javascript set focus, set focus beginning, focus end javascript div, contenteditable set cursor, safari javascript focus selection, contenteditable cursor end, javascript chrome focus contenteditable, javascript focus div, div, cursor, contenteditable, cursor javascript, end argument, safari javascript function, opera chrome, set position, safari contenteditable cursor, javascript focus div contenteditable, javascript div selection, javascript cursor focus div, focus div javascript

About the Employer:
( 2 reviews ) Vallensbæk, Denmark

Projektin tunnus: #523343

Myönnetty käyttäjälle:

techsolsoftwares

hi i am ready to start right now.

30 $ USD 1 päivässä
(16 arvostelua)
4.0

5 freelanceria on tarjonnut keskimäärin 77 $ tähän työhön

khanhhuyna

Ready to discuss more! Thanks!

50 $ USD 1 päivässä
(54 arvostelua)
5.9
wauma002

Hi, please check PM for details. Rgds, Jef

150 $ USD 1 päivässä
(11 arvostelua)
5.2
Tomcat253

28 years bending bits affords you 100% satisfaction guaranteed! Please see PMB.

30 $ USD 0 päivässä
(15 arvostelua)
4.2
ramana123

Hi, I already developed a grid like structure using javascript which has editing feature. I can develop this for you. Looking forward to hear from you. Thanks, Venkat Reddy

125 $ USD 3 päivässä
(1 arvostelu)
0.0