<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: show text  in the next line in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/show-text-in-the-next-line/m-p/173617#M186582</link>
    <description>&lt;P&gt;I normally use &lt;A href="http://www.w3schools.com/tags/tag_textarea.asp"&gt;http://www.w3schools.com/tags/tag_textarea.asp&lt;/A&gt;  for multiple line text boxes&lt;/P&gt;</description>
    <pubDate>Tue, 04 Mar 2014 18:47:25 GMT</pubDate>
    <dc:creator>aelliott</dc:creator>
    <dc:date>2014-03-04T18:47:25Z</dc:date>
    <item>
      <title>show text  in the next line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/show-text-in-the-next-line/m-p/173612#M186577</link>
      <description>&lt;P&gt;Hello Everyone,&lt;BR /&gt;
Using javascript I am showing some text in a read only text box, now I want to add another line to this box .In java script I used &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; var value1 = "Month End Closure Report" + " - " + n + "  " + yyyy ; //here n is month name
 var value2 = "hello" + " - " + p + "  " + yyyy ;   //here p is day name 
 var value3= value1 +'\n' + value2;
 document.getElementById('text1').value =value3;
 alert(value3);
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Alert shows correct data (I mean hello-Sun2014 in the next line)e.g.&lt;BR /&gt;
"Month End Closure Report - March2014&lt;BR /&gt;
hello-Sun2014" &lt;/P&gt;

&lt;P&gt;Problem:- text box which I designed in simplexml is not showing Hello string in the next line.It appears in a single line like "Month End Closure Report - March2014 hello-Sun2014".&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;html &amp;gt;
  &amp;lt;input type ="text"  id = "text1" value= "" readonly="readonly" textmode="multiline"  /&amp;gt;

  &amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please suggest what is missing..?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 16:56:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/show-text-in-the-next-line/m-p/173612#M186577</guid>
      <dc:creator>vikas_gopal</dc:creator>
      <dc:date>2014-03-04T16:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: show text  in the next line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/show-text-in-the-next-line/m-p/173613#M186578</link>
      <description>&lt;P&gt;Check out this post.&lt;/P&gt;

&lt;P&gt;Basically you need to replace '\r' with &lt;BR /&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://forums.asp.net/t/1711955.aspx?How+do+you+save+carriage+returns+from+a+multi+line+textbox+"&gt;http://forums.asp.net/t/1711955.aspx?How+do+you+save+carriage+returns+from+a+multi+line+textbox+&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 17:16:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/show-text-in-the-next-line/m-p/173613#M186578</guid>
      <dc:creator>aelliott</dc:creator>
      <dc:date>2014-03-04T17:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: show text  in the next line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/show-text-in-the-next-line/m-p/173614#M186579</link>
      <description>&lt;P&gt;thanks for the quick response&lt;BR /&gt;
I replaced r with br but it won't work, now it's like&lt;BR /&gt;
var value3= value1 +'&lt;BR /&gt;' + value2;&lt;BR /&gt;
How I can type replace command in the existing code..?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 18:28:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/show-text-in-the-next-line/m-p/173614#M186579</guid>
      <dc:creator>vikas_gopal</dc:creator>
      <dc:date>2014-03-04T18:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: show text  in the next line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/show-text-in-the-next-line/m-p/173615#M186580</link>
      <description>&lt;P&gt;&lt;A href="http://www.w3schools.com/jsref/jsref_replace.asp"&gt;http://www.w3schools.com/jsref/jsref_replace.asp&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 18:34:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/show-text-in-the-next-line/m-p/173615#M186580</guid>
      <dc:creator>aelliott</dc:creator>
      <dc:date>2014-03-04T18:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: show text  in the next line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/show-text-in-the-next-line/m-p/173616#M186581</link>
      <description>&lt;P&gt;again same result it's appearing fine in the alert but not in the text box .Seems like some property of text box restricting it.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 18:44:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/show-text-in-the-next-line/m-p/173616#M186581</guid>
      <dc:creator>vikas_gopal</dc:creator>
      <dc:date>2014-03-04T18:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: show text  in the next line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/show-text-in-the-next-line/m-p/173617#M186582</link>
      <description>&lt;P&gt;I normally use &lt;A href="http://www.w3schools.com/tags/tag_textarea.asp"&gt;http://www.w3schools.com/tags/tag_textarea.asp&lt;/A&gt;  for multiple line text boxes&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 18:47:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/show-text-in-the-next-line/m-p/173617#M186582</guid>
      <dc:creator>aelliott</dc:creator>
      <dc:date>2014-03-04T18:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: show text  in the next line</title>
      <link>https://community.splunk.com/t5/Splunk-Search/show-text-in-the-next-line/m-p/173618#M186583</link>
      <description>&lt;P&gt;@aelliott Thanks for your time..&lt;BR /&gt;
It works fine with textarea but I was having problem with the text alignment so I used label and it works fine..thanks again&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2014 14:22:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/show-text-in-the-next-line/m-p/173618#M186583</guid>
      <dc:creator>vikas_gopal</dc:creator>
      <dc:date>2014-03-05T14:22:44Z</dc:date>
    </item>
  </channel>
</rss>

