On Dec 19, 3:26 pm, Bob Ippolito [EMAIL PROTECTED] wrote:
On 12/19/07, JS [EMAIL PROTECTED] wrote:
I have the Javascript code which is located here:
http://pastebin.com/m6d9fe26c
It works 100% of the time when I use Firefox for my browser, but
doesn't give expected results all the time with IE. The problem
occurs after line 12. Here is an overview of what I'm doing.
I have an INPUT field where I'm capturing the ENTER key press and
calling an 'updateMethod'. When the 'updateMethod' completes, I want
to call a 'revertMethod' which will change the INPUT field back to the
HTML that it was before. (It got changed to an INPUT field when the
user double-clicked on it). The update is working 100% of the time,
regardless of the browser. After the update, it seems that at times,
with IE that the 'revertMethod' is not called. But, I don't know how
to debug this with IE. As I said, it works in Firefox where I use
Firebug and the logger for debugging.
I'm very new to Javascript programming and the whole callback thing,
and am wondering if there is a problem with the way that I have a
second loadJSONDoc embedded inside a callback from a previous
loadJSONDoc.
Or, maybe I'm going about the entire thing all wrong. Any advice on
how to debug in IE (MochiKit 1.3) or similar experiences with
loadJSONDoc would be appreciated.
http://groups.google.com/group/mochikit/browse_thread/thread/3cd6439a...
-bob
Bob, I don't know how to thank you enough. That was my problem.
Thanks for your help and your fantastic toolkit.
-Jim
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/mochikit?hl=en
-~--~~~~--~~--~--~---