PDA

View Full Version : Ajax tutorial example - IE (ok) Firefox 2 (not ok)



tomc
20 Feb 2008, 6:14 AM
Hi,

The tutorial goes smoothly until the ajax example.

It works fine on IE7 but not FF2, I've searched the forum but unless I missed it I couldn't find any thread.

Any ideas anyone?

Thanks,
Tom

justpat
8 Mar 2008, 5:49 PM
I am having a similar problem. I just downloaded ext today and am so far impressed. But going through the tutorial (intro to ext 2.0) I did not get very far. The part in the tutorial for creating the click event on the button:

Ext.onReady(function() {
Ext.get('myButton').on('click', function(){
alert("You clicked the button");
});
});

Works in IE7 but not FF. No error in firebug? Any ideas? If evaluation goes well, will definitely register. Thanks.