github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

localhost / jquery-fieldselection

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 5
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (2)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (2)
    • 0.1.1
    • 0.1.0
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

a jQuery plugin to get and set the caret/selection — Read more

  cancel

http://labs.0xab.cd/jquery/fieldselection/0.2.3-test/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

added hexdump to test.html 
localhost (author)
Fri Nov 14 05:29:05 -0800 2008
commit  0a2447008b720e2ff46b8051915cdc4e864d6d0b
tree    c437de1ec8e47bb48ba5d2a4c247639872c69fa1
parent  a167171daef999e3fd6201ac2710c23e42a2142c
jquery-fieldselection /
name age
history
message
file README.markdown Fri Nov 14 03:21:39 -0800 2008 initial import of version 0.1.0 [localhost]
file jquery-fieldselection.js Fri Nov 14 04:02:41 -0800 2008 just some small fixes for 0.1.0 [localhost]
file jquery-fieldselection.min.js Fri Nov 14 04:05:48 -0800 2008 updated .min.js to v0.1.1 and deleted .pack.js [localhost]
file jquery-latest.pack.js Fri Nov 14 03:21:39 -0800 2008 initial import of version 0.1.0 [localhost]
file test.html Fri Nov 14 05:29:05 -0800 2008 added hexdump to test.html [localhost]
README.markdown

jQuery - fieldSelection

A jQuery plugin to get'n'set the caret/selection.

Description

Retrieve the caret (text cursor) position from textareas and input fields as well as the actual selection and its index boundaries. Replacing the selection string is also supported. Unfortunately special treatment for such a simple thing is needed, because MSIE doesn't support the easy DOM 3.0 methods.

Status

First public release: getSelection and replaceSelection basically works.

Check my blog or the fieldSelection page for further updates.

Requirements

jQuery (tested with version 1.0.2+)

License

           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 
                   Version 2, December 2004 

Copyright (C) 2006 Alex Brem 
Everyone is permitted to copy and distribute verbatim or modified 
copies of this license document, and changing it is allowed as long 
as the name is changed. 

           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 
  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 

 0. You just DO WHAT THE FUCK YOU WANT TO.

Warranty

This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See http://sam.zoy.org/wtfpl/COPYING for more details.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server