Reverse A Text String In jQuery - rvreversetext.js

Reverse A Text String In jQuery - rvreversetext.js
File Size: 2.51 KB
Views Total: 1201
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

rvreversetext.js is a funny jQuery plugin which can be used to reverse the text in a string using a little jQuery script.

How to use it:

1. Download and include the JavaScript file rvreversetext.js along with the latest jQuery on the webpage.

<script src="//code.jquery.com/jquery.min.js"></script>
<script src="rvreversetext.js"></script>

2. Just call the function on the DOM node selector as this.

$('p').rvReverseText();

3. Possible parameters:

$('p').rvReverseText({
  minlength: 0, 
  maxlength: 99999
});

This awesome jQuery plugin is developed by ranvir-catabatic. For more Advanced Usages, please check the demo page or visit the official website.