Created
February 4, 2014 10:46
-
-
Save paulherron/8801498 to your computer and use it in GitHub Desktop.
An example of calling the jQuery Slugular plugin (https://github.com/paulherron/jquery_slugular). It uses a fairly broad selector – I just include this in the layout of my CMS and it works for most forms. It works in various different scenarios, e.g. the form having just a `title` field, or alternatively it having just a `name` field. It also ma…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
$("input[name$='[title]'],input[name$='name]']").slugular(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment