<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1040289" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1040289</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/validate-textbox-input-using-javascript#comment-1227056</link>
    <description> &lt;p&gt;Your complicating things way to much &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;if(q.value &amp;lt; 1 || q.value &amp;gt; 5){&lt;br /&gt;
qc.value += &quot;Please enter a number between 1 and 5\n&quot;;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;the || is equivalent to OR, you can also use &amp;amp;&amp;amp; instead of AND&lt;/p&gt;
 </description>
     <pubDate>Thu, 06 Dec 2007 13:27:37 +0000</pubDate>
 <dc:creator>calculator</dc:creator>
 <guid isPermaLink="false">comment 1227056 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/validate-textbox-input-using-javascript#comment-1227001</link>
    <description> &lt;p&gt;Actually, I just need help with the correct syntax for the following:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;if ( valueRange(q.value.value &amp;lt; 1 or &amp;gt; 5) )&lt;br /&gt;
{&lt;br /&gt;
qc.value += &quot;Please enter a number between 1 and 5\n&quot;;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;How do you wright if value is between 1 and 5? would the above code work if I had the correct operator?&lt;/p&gt;
 </description>
     <pubDate>Wed, 05 Dec 2007 12:12:50 +0000</pubDate>
 <dc:creator>drew22299</dc:creator>
 <guid isPermaLink="false">comment 1227001 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/validate-textbox-input-using-javascript#comment-1226992</link>
    <description> &lt;p&gt;Is it just one number they are entering?  (e.g. &quot;3,&quot; &quot;4.25839,&quot; or &quot;8&quot;)&lt;br /&gt;
Or do you want to check each number in a string of numbers?  (e.g. &quot;34352,&quot; &quot;1232.513,&quot; &quot;32299084&quot;)&lt;br /&gt;
Or do you want to check the numbers amongst a string of text? (e.g. &quot;I have 3 apples,&quot; &quot;I have 4.25 dollars,&quot; &quot;I have 4259 paper clips.&quot;)&lt;/p&gt;
&lt;p&gt;If it&#039;s the first one, I would do something very simple:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;if (varName&amp;gt;=1 &amp;amp;&amp;amp; varName&amp;lt;=5) {&lt;br /&gt;&amp;nbsp; ...execute action&lt;br /&gt;}&lt;br /&gt;else {&lt;br /&gt;&amp;nbsp; ...execute other action&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;For the others, the situation would require use of the split() function and I would rather wait to see your answer to code it out.&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 Dec 2007 23:34:22 +0000</pubDate>
 <dc:creator>mscreashuns</dc:creator>
 <guid isPermaLink="false">comment 1226992 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
