<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>permalink Archives - Cody Paste</title>
	<atom:link href="https://www.codypaste.com/tag/permalink/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.codypaste.com/tag/permalink/</link>
	<description>THE WEB PLAYGROUND</description>
	<lastBuildDate>Sat, 03 Aug 2019 11:26:30 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://www.codypaste.com/wp-content/uploads/2022/12/cropped-codypaste-32x32.png</url>
	<title>permalink Archives - Cody Paste</title>
	<link>https://www.codypaste.com/tag/permalink/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Auto Permalink value in text field</title>
		<link>https://www.codypaste.com/auto-permalink-value-in-text-field/</link>
					<comments>https://www.codypaste.com/auto-permalink-value-in-text-field/?noamp=mobile#respond</comments>
		
		<dc:creator><![CDATA[Admin]]></dc:creator>
		<pubDate>Fri, 07 Sep 2018 12:00:25 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[auto permalink]]></category>
		<category><![CDATA[auto put filed]]></category>
		<category><![CDATA[permalink]]></category>
		<category><![CDATA[url friendly string]]></category>
		<guid isPermaLink="false">http://www.codypaste.com/?p=692</guid>

					<description><![CDATA[<p>Auto Permalink value from one text field to another in Jquery. This code will convert Text to url friendly and auto put to another text field. [crayon-69ab960abe1a6096127527/] &#160;</p>
<p>The post <a href="https://www.codypaste.com/auto-permalink-value-in-text-field/">Auto Permalink value in text field</a> appeared first on <a href="https://www.codypaste.com">Cody Paste</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Auto Permalink value from one text field to another in Jquery. This code will convert Text to url friendly and auto put to another text field.</p><pre class="urvanov-syntax-highlighter-plain-tag">&lt;script  src="https://code.jquery.com/jquery-3.4.1.slim.min.js" &gt;&lt;/script&gt;

&lt;form id="form1" name="form1" method="post"&gt;
&lt;label for="name"&gt;Name:&lt;/label&gt;
&lt;input type="text" name="name" id="name"&gt;
&lt;label for="permalink"&gt;Permalink:&lt;/label&gt;
&lt;input type="text" name="permalink" id="permalink"&gt;
&lt;input type="submit" name="submit" id="submit" value="Submit"&gt;
&lt;/form&gt;

&lt;script&gt;
function slugify(text)
{
return text.toString().toLowerCase()
.replace(/\s+/g, '-') // Replace spaces with -
.replace(/[^\w\-]+/g, '') // Remove all non-word chars
.replace(/\-\-+/g, '-') // Replace multiple - with single -
.replace(/^-+/, '') // Trim - from start of text
.replace(/-+$/, ''); // Trim - from end of text
}

$("#name").keyup(function(){
var sl_val=this.value;
var sl_val= slugify(sl_val);
$("#permalink").val(sl_val);
});
&lt;/script&gt;</pre><p>&nbsp;</p>
<p>The post <a href="https://www.codypaste.com/auto-permalink-value-in-text-field/">Auto Permalink value in text field</a> appeared first on <a href="https://www.codypaste.com">Cody Paste</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.codypaste.com/auto-permalink-value-in-text-field/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
