<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1019531" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1019531</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/need-better-js-function-then-onchange#comment-1117314</link>
    <description> &lt;p&gt;No prob. Post it if you get it please. Good luck.&lt;br /&gt;
-dk&lt;/p&gt;
 </description>
     <pubDate>Thu, 31 Oct 2002 23:07:03 +0000</pubDate>
 <dc:creator>dk01</dc:creator>
 <guid isPermaLink="false">comment 1117314 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Thank you</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/need-better-js-function-then-onchange#comment-1117296</link>
    <description> &lt;p&gt;That looks very interesting.  I will try it.  Thank you very much.&lt;/p&gt;
 </description>
     <pubDate>Thu, 31 Oct 2002 20:48:20 +0000</pubDate>
 <dc:creator>critical</dc:creator>
 <guid isPermaLink="false">comment 1117296 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/need-better-js-function-then-onchange#comment-1117290</link>
    <description> &lt;p&gt;I have to use this when I want netscape to work with mousedown, mousemove, and mouseup:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;amp;lt;script language=&amp;quot;Javascript&amp;quot;&amp;amp;gt;&lt;br /&gt;	if(document.layers)&lt;br /&gt;	{&lt;br /&gt;		document.captureEvents(Event.MOUSEDOWN | Event.MOUSEMOVE | Event.MOUSEUP);&lt;br /&gt;	}&lt;br /&gt;document.onmousedown = evtMousedown;&lt;br /&gt;document.onmousemove = evtMousemove;&lt;br /&gt;document.onmouseup = evtMouseup;&lt;br /&gt;&lt;br /&gt;function evtMousedown(evt) {&lt;br /&gt;// Function with mousedown stuff, variable &amp;quot;evt&amp;quot; is the clicked object.&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function evtMousemove(evt) {&lt;br /&gt;// Function with mousemove stuff&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function evtMouseup(evt) {&lt;br /&gt;// Function with mouseup stuff&lt;br /&gt;}&lt;br /&gt;&amp;amp;lt;/script&amp;amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;Maybe it can be modified for onkeypress or onkeydown.&lt;br /&gt;
-dk&lt;/p&gt;
 </description>
     <pubDate>Thu, 31 Oct 2002 17:22:18 +0000</pubDate>
 <dc:creator>dk01</dc:creator>
 <guid isPermaLink="false">comment 1117290 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Thank you</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/need-better-js-function-then-onchange#comment-1117273</link>
    <description> &lt;p&gt;Thank you very much.  I think I need a more recent edition of a JavaScript book!&lt;/p&gt;
&lt;p&gt;In IE, I could not get onkeypress to work, but I could get onkeyup to work.  &lt;/p&gt;
&lt;p&gt;In Netscape I could not get either to work.&lt;/p&gt;
&lt;p&gt;So I will still use onfocus/onchange on my page, and add in onkeyup for the benefit of my visitors who are fortunate enough to use IE.&lt;/p&gt;
 </description>
     <pubDate>Thu, 31 Oct 2002 13:52:35 +0000</pubDate>
 <dc:creator>critical</dc:creator>
 <guid isPermaLink="false">comment 1117273 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/need-better-js-function-then-onchange#comment-1117236</link>
    <description> &lt;p&gt;The onkey* listeners don&#039;t detect changes made by mouse (copy/paste).&lt;/p&gt;
&lt;p&gt;Depending on your circumstances, you may or may not want to trigger the string compare function with onfocus and onclick events.&lt;/p&gt;
&lt;p&gt;Something to keep in mind. &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;
 </description>
     <pubDate>Thu, 31 Oct 2002 03:15:44 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1117236 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/need-better-js-function-then-onchange#comment-1117231</link>
    <description> &lt;p&gt;tags have the following JS events:&lt;br /&gt;
onblur, onchange, onclick, ondblclick, onfocus, &lt;strong&gt;onkeydown&lt;/strong&gt;, &lt;strong&gt;onkeypress&lt;/strong&gt;, &lt;strong&gt;onkeyup&lt;/strong&gt;, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect&lt;/p&gt;
&lt;p&gt;I would say, use onkeypress to triger a custom function.  You could then compare th input value before the key was pressed (string length - 1), and the key pressed (char at string length), and decide what to do about it.&lt;/p&gt;
 </description>
     <pubDate>Wed, 30 Oct 2002 23:26:31 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1117231 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
