阅读背景:

如何将一个标题转换为jQuery的URL slug ?

来源:互联网 

I'm working on an app in CodeIgniter, and I am trying to make a field on a form dynamically generate the URL slug. What I'd like to do is remove the punctuation, convert it to lowercase, and replace the spaces with hyphens. So for example, Shane's Rib Shack would become shanes-rib-shack.I'm working on an app in CodeIgniter, and I am




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: