<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : JavaScript &quot;K&quot; Event</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : I need help - I can help : JavaScript &quot;K&quot; Event]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 19:55:37 +0000</pubDate>
  <lastBuildDate>Mon, 23 Dec 2013 14:58:37 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=2801</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[JavaScript &quot;K&quot; Event : I&amp;#039;m trying to determine if...]]></title>
   <link>http://www.quickpdf.org/forum/javascript-k-event_topic2801_post11407.html#11407</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2491">JohnT</a><br /><strong>Subject:</strong> 2801<br /><strong>Posted:</strong> 23 Dec 13 at 2:58PM<br /><br />I'm trying to determine if my JavaScript is the problem or the "K" event for the FormFieldJavaScriptAction works differently than expected. My understanding is that the form field "K" event should fire after <u>any</u> keystrokes.<div><br></div><div>Given the code below, the event does <u>not fire on the initial non-numeric keystroke</u>. After that point it fires. Obviously, the intended behavior is to have this event fire right after ANY non-numeric key is pressed.</div><div><br></div><div>Thanks,</div><div>John&nbsp;<br><div><br></div><div><div>DPL.AddGlobalJavaScript('JTJava2', 'function numcheck(){parseInt(event.value); if ((isNaN(event.value) || event.value &lt;= 0) &amp;&amp; event.value != "") {app.alert("Please enter only numbers",3,0,"Number Check"); event.value = "";}}');</div><div>...</div><div><br></div><div>DPL.FormFieldJavaScriptAction(QTYFld, 'K','numcheck()');</div></div></div>]]>
   </description>
   <pubDate>Mon, 23 Dec 2013 14:58:37 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/javascript-k-event_topic2801_post11407.html#11407</guid>
  </item> 
 </channel>
</rss>