Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged text



« Prev 1 Next »
  1. FAV Button text on wrong answer

    change the button text on wrong answer
    JavaScript button text
    posted 3 years ago by envane21
  2. FAV Copy Selected Text in JavaScript

    Sometimes you have some information on your page and your visitors might want to copy it. The easiest way is to provide a mechanism that allows them to simply click a button to do so. You have to paste this code into the head of your web page:
    JavaScript javascript text
    posted 7 years ago by apphp-snippets
  3. FAV select text in form element

    cross-browser way to select all text in a form element, via Jason on Stack Overflow
    JavaScript form text
    posted 7 years ago by charliefmoran
  4. FAV Escribir vertical

    Escribir vertical
    JavaScript text
    posted 7 years ago by rickyslow
  5. FAV change the default search box text in SharePoint 2010 using JQuery

    Use whatever is needed to select the input box. $('#searchBoxOuter td.ms-sbcell input') reflects some custom master page html I have so I used that.
    JavaScript javascript jquery search sharepoint text
    posted 8 years ago by rumremix
  6. FAV Auto hide input field on focus

    JavaScript form text
    posted 8 years ago by cfergus
  7. FAV Cross Browser Text selection

    JavaScript browser text
    posted 8 years ago by kashif21
  8. FAV Vertical text ticker (using tilted letters)

    This is probably the first vertical JavaScript text ticker that sues tilted letters. Works with Internet Explorer 6x/7x/8x/9x, Firefox 3.6x, Opera 10.5x and Google Chrome 4x/5x/6x. Older Browsers show no ticker.
    JavaScript animation code javascript text
    posted 8 years ago by fabulant
  9. FAV Clear Text Field of its default value, and return the original value

    JavaScript search text
    posted 9 years ago by Jamie
  10. FAV Case insensitive jQuery :contains selector

    This will extend jquery to have a :Contains selector that is case insensitive, the :contains selector remains unchanged.
    JavaScript jquery text
    posted 9 years ago by magicrebirth
  11. FAV Format a string with an array of arguments

    JavaScript format javascript text
    posted 9 years ago by rmariuzzo
  12. FAV jQuery LimitCharWidth: Allows you to collapse the inner text so that it adjust into specific width.

    This plugin allows you to collapse the inner text so that it adjust into specific width or container width.
    JavaScript javascript jquery text saved by 3 people
    posted 9 years ago by jaff
  13. FAV Remover un texto seleccionado luego de hacer doble clic con el mouse

    JavaScript jquery text
    posted 10 years ago by jrobinsonc
  14. FAV Text Change on Refresh

    JavaScript text
    posted 10 years ago by powerserve
  15. FAV Strips tags from HTML text

    JavaScript links text saved by 2 people
    posted 10 years ago by enchance
  16. FAV Disable and enable a text input in Firefox

    I just noticed in Firefox 3.5.2 that setting `disabled = true` for a focused text input seems to make it impossible to re-focus after setting `disabled = false`. The solution is to blur it before disabling.
    JavaScript DOM text
    posted 10 years ago by cyberhobo
  17. FAV JavaScript - Create excerpt

    JavaScript text
    posted 10 years ago by jonniespratley
  18. FAV Flip text in page

    April 1, 2009, youtube.com
    JavaScript text saved by 1 person
    posted 10 years ago by spraitas
  19. FAV confirm password background change

    I just put all the functions in here the validateConfPass function uses the key event and the two text fields to change the background color of the confPassword field when it does not equal the pass field
    JavaScript background color text
    posted 10 years ago by jlvallelonga
  20. FAV Favlet: Clickatell SMS sender

    I made this simple JavaScript to save me time. I was sick of having to thumb-bash on a tiny keypad or login to the slow Clickatell site and use their clunky interface (nothing it simpler than 2 text boxes and an OK button). You will need an HTTP A...
    JavaScript api text saved by 2 people
    posted 11 years ago by mountainash
  21. FAV drop a shadow and outline the text.

    JavaScript text
    posted 12 years ago by iTony
  22. FAV drop a shadow in a text

    JavaScript javascript text
    posted 12 years ago by iTony
  23. FAV Toggles instructional and default copy text and styles

    This utility function attaches listeners to a text field or text area. It supports default text for instructional copy. The original text in the field is used as the instructional/default text. When the box gets focus, it disappears and the user can...
    JavaScript copy javascript text
    posted 12 years ago by elli
  24. FAV Javascript で grep

    JavaScript text
    posted 12 years ago by jugyo
  25. FAV Trim Leading & Trailing Whitespace

    Trims leading and trailing spaces from a string value and returns the result as a new string.
    JavaScript format text saved by 2 people
    posted 13 years ago by splorp
  26. FAV auto-pullquotes

    wrap the text that will become a pullquote in a span element and give it the class name "pullquote"
    JavaScript javascript text saved by 2 people
    posted 13 years ago by designerd
  27. FAV Regular Expressions simple strings search/replace escape method (with RE speed enhancment - precompilation)

    Usefull Regular Expressions enhancement. Simplifies standard string operations escaping special chars. And also saves precompiled REs for a speed increase.
    JavaScript replace text saved by 2 people
    posted 13 years ago by cochambre
« Prev 1 Next »