<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1021979" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1021979</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-issue-0#comment-1135522</link>
    <description> &lt;p&gt;the thml book i have is orielly&#039;s webmaster in a nutshell 2nd edition.  i think it says the language is required.&lt;br /&gt;
it&#039;s nice to know the change for xhtml. i&#039;m trying to pick those up as i do this and work some of it in. thnx for the fyi there.&lt;/p&gt;
&lt;p&gt;i KNOW it doesn&#039;t have maxsize listed as a possible textarea attibute, so i didn&#039;t realize that was possible.  i thought they listed ALL attributes and event handlers.&lt;/p&gt;
&lt;p&gt;i know it works for regular frames.&lt;br /&gt;
this is to show you the place i did something that i tried ot morph on: &lt;a href=&quot;http://people.brandeis.edu/~m3rajk/JMT/color/&quot; class=&quot;bb-url&quot;&gt;http://people.brandeis.edu/~m3rajk/JMT/color/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;i thought i was suppossed to lose that space on aug 1, so i don&#039;t knwo how long it&#039;ll remain up&lt;/p&gt;
&lt;p&gt;edit: found the errors...&lt;/p&gt;
&lt;p&gt;function (for the first one)  needed to be changed to...&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;function findlength(){&lt;br /&gt;var comment=document.new_friend.cof.value;&lt;br /&gt;var numchars=comment.length;&lt;br /&gt;document.new_friend.chars.value=numchars;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Sun, 03 Aug 2003 16:19:41 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1135522 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-issue-0#comment-1135507</link>
    <description> &lt;p&gt;You&#039;re right, by calling it from the form, the JavaScript has already loaded and is available. I totally blanked on the fact that it was being activated by the form.&lt;/p&gt;
&lt;p&gt;I tend to keep the JavaScript in a library, rather than in script tags, so it goes best in the head element when you do it that way.&lt;/p&gt;
&lt;p&gt;Also, type=&quot;text/javascript&quot; is the proper way to identify it. You can omit the type and language altogether and it will work in most browsers, but it&#039;s not valid, and it&#039;s not good coding practice. Newer browsers and XHTML require the type, not the language, attribute.&lt;/p&gt;
&lt;p&gt;As for the errors, my brain&#039;s working in PHP at the moment, but the only thing that stands out is that I&#039;m not sure how the iframe would update, having never done it before that way. I would likely choose to use an alert.&lt;/p&gt;
&lt;p&gt;If you use HTML&#039;s maxsize attribute for the textarea, you can limit the textarea to 255 characters and they will be UNABLE to type more. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 02 Aug 2003 23:24:59 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1135507 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-issue-0#comment-1135503</link>
    <description> &lt;p&gt;i have a set of pages for finding hexvalues for colors as well as displaying mixes, and the javascript is the last thing int he file... i don&#039;t have the type call in it, yet that works fine in every browser i&#039;ve used... &lt;/p&gt;
&lt;p&gt;anyone know why?&lt;/p&gt;
&lt;p&gt;i&#039;ve usedjavascript before but always had it at the end and without type (and called by a form) and it&#039;s always worked perfectly&lt;/p&gt;
&lt;p&gt;edit:&lt;br /&gt;
ahhhh! tried it WITH your adjustments and it&#039;s still not updating for me&lt;/p&gt;
&lt;p&gt;i&#039;d prefer the textbox since it was both my first idea and i think it looks better. any chance anyone can help??? obviously those error were good catches, but....&lt;/p&gt;
 </description>
     <pubDate>Sat, 02 Aug 2003 22:25:44 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1135503 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/javascript-issue-0#comment-1135494</link>
    <description> &lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;em&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;br /&gt;&amp;amp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;lt&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;script language&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;javascript\&quot; &amp;lt;strong&amp;gt;type=\&quot;text/javascript\&quot;&amp;lt;/strong&amp;gt;&amp;amp;gt;&lt;br /&gt;function findlength(){&lt;br /&gt;var comment=document.new_friend.cof.value(); // get the comment&lt;br /&gt;var numchars=comment.length; // find the number of characters used&lt;br /&gt;parent.chars.document.open();&lt;br /&gt;parent.chars.document.write(\&quot;&amp;lt;html&amp;gt;&amp;lt;body&amp;gt;Your comment is \&quot;+numchars+&lt;br /&gt;\&quot; long.&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;\&quot;);&amp;nbsp; // tell the user the number of character used&lt;br /&gt;parent.chars.document.close();&lt;br /&gt;}&lt;br /&gt;&amp;amp;lt;/script&amp;amp;gt;&lt;br /&gt;&amp;lt;/em&amp;gt;&lt;br /&gt;&amp;lt;&amp;lt;strong&amp;gt;/&amp;lt;/strong&amp;gt;head&amp;gt;&amp;lt;body&amp;gt;&amp;lt;center&amp;gt;&lt;br /&gt;&amp;lt;form action=\&quot; echo &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_SERVER&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;PHP_SELF&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;; \&quot; name=\&quot;new_friend\&quot;&lt;br /&gt; method=\&quot;POST\&quot; onReset=\&quot;window.close();\&quot;&amp;gt;&lt;br /&gt;&amp;lt;table frame=\&quot;void\&quot; bgcolor=\&quot;#000000\&quot; border=\&quot;0\&quot; cellpadding=\&quot;0\&quot;&lt;br /&gt; cellspacing=\&quot;0\&quot; text=\&quot;#c8c8c8\&quot;&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;Selected Friend&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;&amp;lt;input type=\&quot;text\&quot; name=\&quot;fun\&quot; readonly size=\&quot;15\&quot;&lt;br /&gt; value=\&quot; echo &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_GET&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;un&#039;]; \&quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;td colspan=\&quot;2\&quot;&amp;gt;&lt;br /&gt;&amp;lt;textarea cols=\&quot;30\&quot; name&amp;lt;strong&amp;gt;-&amp;lt;/strong&amp;gt;\&quot;cof\&quot; onKeyUp=\&quot;return findlength();\&quot; rows=\&quot;4\&quot; wrap=\&quot;virtual\&quot;&amp;gt;&lt;br /&gt;Enter a Comment or clear this. You have a maximum of 255 characters, everything above&lt;br /&gt; that will be lost&lt;br /&gt;&amp;lt;/textarea&amp;gt;&lt;br /&gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&amp;lt;td colspan=\&quot;2\&quot;&amp;gt;&amp;lt;iframe name=\&quot;chars\&quot; src=\&quot;chars.html\&quot;&amp;gt;&amp;lt;/iframe&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;&amp;lt;input type=\&quot;submit\&quot; value=\&quot;Add My Friend!\&quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;td&amp;gt;&amp;lt;input type=\&quot;reset\&quot; value=\&quot;Not My Friend\&quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;lt;/table&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;/center&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;The function needs to be before you call it. You can&#039;t call a function that doesn&#039;t exist yet. &lt;/p&gt;
&lt;p&gt;The parts in bold are errors. (Including two opening head tags, but no closing tag, and a minus sign instead of an equal sign).&lt;/p&gt;
 </description>
     <pubDate>Sat, 02 Aug 2003 20:26:58 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1135494 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
