<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1023128" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1023128</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/search-box#comment-1142314</link>
    <description> &lt;p&gt;Great I&#039;ll try that! Thanks for your help guys &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>Tue, 09 Dec 2003 14:36:40 +0000</pubDate>
 <dc:creator>The Webmistress</dc:creator>
 <guid isPermaLink="false">comment 1142314 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/search-box#comment-1142311</link>
    <description> &lt;p&gt;euh i&#039;m not sure what you mean but it should look like this in the end&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;input name=&amp;quot;query&amp;quot; type=&amp;quot;text&amp;quot; class=&amp;quot;search&amp;quot; value=&amp;quot;&amp;nbsp;&amp;nbsp; Search This Site&amp;quot; size=&amp;quot;33&amp;quot; onfocus=&amp;quot;this.value=&amp;#039;&amp;#039;&amp;quot;&amp;nbsp; /&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;you can add the onclick to but i&#039;m not sure you really need it&lt;/p&gt;
 </description>
     <pubDate>Tue, 09 Dec 2003 14:24:47 +0000</pubDate>
 <dc:creator>druagord</dc:creator>
 <guid isPermaLink="false">comment 1142311 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/search-box#comment-1142309</link>
    <description> &lt;p&gt;So with Suzanne&#039;s code I just simply add that to the code I already have:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;input name=&amp;quot;query&amp;quot; type=&amp;quot;text&amp;quot; class=&amp;quot;search&amp;quot; value=&amp;quot;&amp;nbsp;&amp;nbsp; Search This Site&amp;quot; size=&amp;quot;33&amp;quot; /&amp;gt;&lt;/code&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Tue, 09 Dec 2003 14:22:15 +0000</pubDate>
 <dc:creator>The Webmistress</dc:creator>
 <guid isPermaLink="false">comment 1142309 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/search-box#comment-1142307</link>
    <description> &lt;p&gt;nothing is wrong with renegades code. Suzanne&#039;s is just more simple&lt;/p&gt;
 </description>
     <pubDate>Tue, 09 Dec 2003 14:19:00 +0000</pubDate>
 <dc:creator>druagord</dc:creator>
 <guid isPermaLink="false">comment 1142307 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/search-box#comment-1142289</link>
    <description> &lt;p&gt;So what&#039;s wrong with Renegade&#039;s code? I understand that one more than the others!&lt;/p&gt;
 </description>
     <pubDate>Tue, 09 Dec 2003 09:33:03 +0000</pubDate>
 <dc:creator>The Webmistress</dc:creator>
 <guid isPermaLink="false">comment 1142289 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/search-box#comment-1142269</link>
    <description> &lt;p&gt;lol, criticize me all you want, it&#039;s good for me!&lt;/p&gt;
 </description>
     <pubDate>Mon, 08 Dec 2003 23:34:45 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1142269 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/search-box#comment-1142247</link>
    <description> &lt;p&gt;My post wasn&#039;t meant to critisize you, just to optimize the code. Yes caffeine is a programmer very good friend &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>Mon, 08 Dec 2003 16:47:35 +0000</pubDate>
 <dc:creator>druagord</dc:creator>
 <guid isPermaLink="false">comment 1142247 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/search-box#comment-1142246</link>
    <description> &lt;p&gt;Ack, very true! I meant to use one or the other -- i.e. you can use select(); or this.value=&#039;&#039;; as your options.&lt;/p&gt;
&lt;p&gt;*rolling eyes at self*&lt;/p&gt;
&lt;p&gt;I shouldn&#039;t post uncaffeinated! I&#039;ve edited my post to reflect the two options separately and clear up ambiguous wording. Thanks, Druagord.&lt;/p&gt;
 </description>
     <pubDate>Mon, 08 Dec 2003 16:28:37 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1142246 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/search-box#comment-1142243</link>
    <description> &lt;p&gt;Suzanne the code you gave is working but select() is useless you could just write &lt;/p&gt;
&lt;p&gt;This should go away when the field is active.&lt;/p&gt;
&lt;p&gt;since you delete the value you don&#039;t need to select it &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>Mon, 08 Dec 2003 15:47:13 +0000</pubDate>
 <dc:creator>druagord</dc:creator>
 <guid isPermaLink="false">comment 1142243 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/search-box#comment-1142242</link>
    <description> &lt;p&gt;you can use onfocus=&quot;select()&quot; but it&#039;s not a hundred percent as if the focus happens with a click rather than a tab, the click can interfere. That selects all the words in the field so the next character typed will clear the field except for that character.&lt;/p&gt;
&lt;p&gt;You can also set onclick the same way...&lt;/p&gt;
&lt;p&gt;So...&lt;/p&gt;
&lt;p&gt;This should be selected when the field is active.&lt;/p&gt;
&lt;p&gt;This should go away when the field is active.&lt;/p&gt;
&lt;p&gt;Caveats would be that this plain code will also remove anything the user has typed. &lt;/p&gt;
&lt;p&gt;I prefer the select(); option and use it instead of other options, but the function on Renegade&#039;s page (you need internal targets, Renegade) handles this problem well, but testing to see if the value is the same as the default. If so, it clears it. If not, it leaves it the heck alone... &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>Mon, 08 Dec 2003 15:40:16 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1142242 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
