<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; JS : Найти и заменить скрипт]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=10366&amp;type=atom" />
	<updated>2015-01-30T04:16:27Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=10366</id>
		<entry>
			<title type="html"><![CDATA[Re: JS : Найти и заменить скрипт]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=91048#p91048" />
			<content type="html"><![CDATA[<p>Что никто не знает?</p>]]></content>
			<author>
				<name><![CDATA[HideGenius]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=32783</uri>
			</author>
			<updated>2015-01-30T04:16:27Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=91048#p91048</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[JS : Найти и заменить скрипт]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=90963#p90963" />
			<content type="html"><![CDATA[<p>Нужен код на JS который находит и заменяет найденые слова.<br />Есть две строки: <br />1. Что искать <br />2. На что заменить <br />Коды строк знаю, а код что приводить все в действие и заменяет найденые слова незнаю, помогите.</p><p>строка что искать<br /></p><div class="codebox"><pre><code>
$(&#039;body&#039;).append(&#039;&lt;input type=&quot;text&quot; name=&quot;search&quot; id=&quot;search&quot; size=&quot;1&quot; placeholder=&quot;найти&quot;&gt;&#039;) 
  $(&quot;#search&quot;).css(&quot;position&quot;, &quot;absolute&quot;).css(&quot;top&quot;, 162).css(&quot;left&quot;, 256);
  $(&quot;#search&quot;).on( &quot;keyup&quot;,function () {</code></pre></div><p>строка на что заменить<br /></p><div class="codebox"><pre><code>$(&#039;body&#039;).append(&#039;&lt;input type=&quot;text&quot; name=&quot;add&quot; id=&quot;add&quot; size=&quot;1&quot; placeholder=&quot;заменить&quot;&gt;&#039;)
  $(&quot;#add&quot;).css(&quot;position&quot;, &quot;absolute&quot;).css(&quot;top&quot;, 222).css(&quot;left&quot;, 256);
  $(&quot;#add&quot;).on( &quot;keyup&quot;,function () {</code></pre></div>]]></content>
			<author>
				<name><![CDATA[HideGenius]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=32783</uri>
			</author>
			<updated>2015-01-25T23:49:14Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=90963#p90963</id>
		</entry>
</feed>
