Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Nifty Piano Demo
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Arjun Guha  
View profile  
 More options May 18, 6:22 pm
From: Arjun Guha <arjun.g...@gmail.com>
Date: Mon, 18 May 2009 18:22:34 -0400
Local: Mon, May 18 2009 6:22 pm
Subject: Re: [Flapjax: 418] Nifty Piano Demo
Yeah, extractValueE/B doesn't play nicely with programmatic updates of
the textbox.  What you could do--this is an awful hack--is set the
value and then call .sendBehavior(value) to update the behavior that
you're reading. (Let me know if this is unclear, I can give an
example).

This is a quirk/bug in Flapjax.  extractValueB is a thin function that
monitors that uses event handlers like "keypress" to monitor changes
to the input.  No event fires when you programmatically update a text
box, so extractValueB misses it.

Have you considered using the extractEventE(textbox, "keypress")?  The
event values of a keypress event (and anything from extractEventE) are
DOM events:

http://www.w3schools.com/jsref/jsref_onkeypress.asp

So, you could use the .keyCode field.

Arjun


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google