---
title: "js获得光标所在的文本框(text/textarea)中的位置"
author: "xylw"
date: "2012-04-24T16:46:53Z"
tags: ["HTML", "JavaScript"]
categories: ["Web前端"]
slug: "js-text-textarea"
draft: false
lastmod: "2012-04-24T16:46:53Z"
id: 1496955
url: "https://xylw.iteye.com/blog/1496955"
---

\[code="html"] 无标题页

[用户名](javascript:)

\[/code]