Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
This bit of JS allows for an unchangable string at the beginning of a text field. Live Demo: http://trafnar.github.com/permastring/ Usage: Pass a jQuery object representing text fields you'd like to use to new PermaText(). The permanant string is read from the data-permastring attribute on the text field. Check demo.html for a working example. new PermaText($('#my_textarea')); Depends on jQuery