<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1020198" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1020198</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-detect-enter-textarea#comment-1123322</link>
    <description> &lt;p&gt;You would search and replace the bad characters in the string on the way into the database -- which brings us back to Mark&#039;s question: what language are you using to talk to your database?&lt;/p&gt;
 </description>
     <pubDate>Tue, 14 Jan 2003 00:46:01 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1123322 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-detect-enter-textarea#comment-1123320</link>
    <description> &lt;p&gt;how to replace using javascript?&lt;/p&gt;
 </description>
     <pubDate>Tue, 14 Jan 2003 00:26:24 +0000</pubDate>
 <dc:creator>joyce</dc:creator>
 <guid isPermaLink="false">comment 1123320 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-detect-enter-textarea#comment-1123281</link>
    <description> &lt;p&gt;replace \r and/or \n and/or a combination of \r and \n with . You should be able to search and replace items in a string even with JavaScript, but it&#039;s easier with Server Side scripting.&lt;/p&gt;
 </description>
     <pubDate>Mon, 13 Jan 2003 15:06:53 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1123281 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-detect-enter-textarea#comment-1123265</link>
    <description> &lt;p&gt;actually i plan to use javascript&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;amp;gt;&lt;br /&gt;function detectKey() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (event.keyCode==13) {alert (&amp;quot;&amp;lt;br&amp;gt;&amp;quot;)&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&amp;amp;lt;/script&amp;amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;but instead of alert, i want to insert  in the textarea. how am i suppose to do tat??&lt;/p&gt;
 </description>
     <pubDate>Mon, 13 Jan 2003 06:59:42 +0000</pubDate>
 <dc:creator>joyce</dc:creator>
 <guid isPermaLink="false">comment 1123265 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/how-detect-enter-textarea#comment-1123263</link>
    <description> &lt;p&gt;What language are you using?  You&#039;ll want to search for \n, and replace with .&lt;/p&gt;
&lt;p&gt;ASP: Replace(strMyString, vbCrLf, &quot;&quot;)&lt;br /&gt;
PERL: $string =~ s/\n//g;&lt;br /&gt;
PHP: nl2br($my_string)&lt;/p&gt;
 </description>
     <pubDate>Mon, 13 Jan 2003 06:37:59 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1123263 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
