Welcome To Snipplr


Everyone's Recent jQuery Snippets Tagged text



« Prev 1 Next »
  1. FAV

    Switch between text on button every second

    Switch between text on button every second
    jQuery 2 views posted 3 years ago by envane21
  2. FAV

    JS:jQuery Get all nodes, including orphaned text

    Reads all the nodes of the object, including orphaned text that's not wrapped into any tag as well as empty text nodes
    jQuery 5 views posted 6 years ago by makbeta
  3. FAV

    Hide/Show text using jQuery

    A little snippet that I use to hide or show text using jquery
    jQuery saved by 3 people 9 views posted 6 years ago by TwistedEinstein
  4. FAV

    Multiline Text Overflow

    Simple function to include in your script to enable multi-line text-overflow. See the jsfiddle (http://jsfiddle.net/eAyyL/) for details on the necessary CSS and HTML layout.
    jQuery 2 views posted 6 years ago by JoshChris
  5. FAV

    Pick a random element with jQuery

    A simple way of displaying a random list item. Could be used to randomly display anything. Demo: jsfiddle.net/uRd6N/ (keep clicking run)
    jQuery 0 views posted 6 years ago by i-am-andy
  6. FAV

    jQuery: Clear All Text Fields (with one line of code)

    This can come in handy for a reset or cancel button. You can clear all inputs within a single div in one line of code. Pretty sexy.
    jQuery 11 views posted 7 years ago by mattvbiggs
  7. FAV

    Clear all text fields on focus based on original value with single function

    Clear all text fields on focus based on original value with single function. The code checks for a 'title' attribute on each input with class 'text' and compares this to the current value of the field.
    jQuery 3 views posted 7 years ago by Huskie
  8. FAV

    Fill select list with text value pairs

    This snippet describes how to fill select html element with Text, Value pairs where 'Text' is displayed to the user and 'Value' is actual value to be processed.
    jQuery 1 views posted 8 years ago by Neven
  9. FAV

    jQuery Text Scale to Element Size Script

    jQuery to set the width of some text to the width of a given element.
    jQuery 4 views posted 8 years ago by Narthur
  10. FAV

    Jquery Limit Text in Textarea

    jQuery 3 views posted 8 years ago by erraja_07
  11. FAV

    Highlight Search Terms on page using jQuery

    jQuery 1 views posted 8 years ago by sguduru
  12. FAV

    jquery automatic text resize

    simple jquery plugin that powers the text auto-resizing that is the basis of textagon.com
    jQuery 1 views posted 8 years ago by secretgspot
  13. FAV

    jquery - clear text search

    simple jquery code to clear form fields
    jQuery 3 views posted 9 years ago by jelontok
  14. FAV

    jQuery: fancy ampersands

    This snippet will replace any "&amp;" within the text of the container your specify with a <span> that you can target with CSS; fancy!
    jQuery 0 views posted 9 years ago by dtigraphics
  15. FAV

    Search Input text

    jQuery 0 views posted 9 years ago by errkk
  16. FAV

    jquery get selected text

    very minimal way to get the value and text of a combo box using jquery
    jQuery saved by 2 people 0 views posted 9 years ago by blipz
  17. FAV

    Input Placeholder Script

    Just a quick script to enable default text within a form element to be cleared or restored upon focus/blur of a particular element. Should give you roughly the same functionality as the new HTML5 webforms "placeholder" attribute.
    jQuery 2 views posted 9 years ago by scheurbert
  18. FAV

    Resizing text dynamically

    jQuery saved by 2 people 2 views posted 10 years ago by stancox
  19. FAV

    Toggle more text

    Example markup: &lt;p&gt;This is the first part of the text &lt;a class="toggle"&gt;[+]&lt;/a&gt;&lt;span&gt;this part is hidden until clicking the toggle link.&lt;/span&gt;&lt;/p&gt; The script will show and hide text when the toggle link is c...
    jQuery saved by 2 people 3 views posted 10 years ago by mikemetcalf
  20. FAV

    jquery - Toggle More Text

    jQuery saved by 1 person 4 views posted 10 years ago by jonniespratley
  21. FAV

    Show input Text while tipping

    Text beim tippen wo anders anzeigen
    jQuery saved by 5 people 0 views posted 10 years ago by skrippendorf
  22. FAV

    Remove text from a node (e.g in links)

    Removed a certain word from a list of links (purely for design reasons). Link length way to long with the link included.
    jQuery saved by 3 people 1 views posted 11 years ago by 1man
« Prev 1 Next »