>Actually, it is: > if (objEl.createTextRange && objEl.caretPos){ > var caretPos = objEl.caretPos; Oh? Interesting to know. Is it cross browser or IE only? ------------------------------------------------------------------- ppk, freelance web developer Interactie, copywriting, JavaScript, integration http://www.xs4all.nl/~ppk/ Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/ New: Forms, usability and the W3C DOM: http://digital-web.com/features/feature_2003-05b.shtml ------------------------------------------------------------------ _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963