Icontem

Notable JavaScript package: jQuery Create Slug from Text

Recommend this page to a friend!
  Blog JS Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable JavaScript pa...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author: Manuel Lemos

Posted on:

Categories: Notable Packages

Slug is the part of a URL that is often used to include in the pages' URLs the respective titles to make it easy for users to learn what the pages are about looking just at their URLs.

Not all characters can be included in URLs. For instance spaces and other characters need to be encoded in a special way, so they are not easily readable by the users.

This object can take a text of a title and create the slug by replacing characters that would need to be encoded, by using dashes.

Read this article to learn more details about how this notable JavaScript package works.




The package jQuery Create Slug from Text is one of the few JavaScript packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Change a text string to make slug to use in URL

Here follows in more detail what it does:

This is jQuery plugin can change a text string to make slug to use in URL.

It listens to key up events on a form text inputs and replaces the spaces with dashes and removes characters with accents.

The slug text is inserted in a hidden input with a given name.

Notable JavaScript packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.

You need to be a registered user or login to post a comment

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

No comments were submitted yet.



  Blog JS Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable JavaScript pa...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)