From Learn About the Ext JavaScript Library
There is a small bug in the tutorial file ExtMenu.html that may cause some confusion.
- PROBLEM: ExtMenu.html does not behave as described in the tutorial, Ext widgets do not initialize.
- DIAGNOSIS: On or about line 10 of ExtMenu.html there is a script tag that sources "ExtStart.js". ExtStart.js doesn't exist in this tutorial. Presumably this code was pasted from the Intro tutorial and the author forgot to change this line.
- SOLUTION: Change the script reference to "ExtMenu.js".
createDelegate don't work with IE
I follow up this tutorial and use the last example to pass a parameter to a javascript function like the one showed, but when i test my function with Internet Explorer 6 it does not work and shows me an alert window with following error: Invalid argument at line... but when i test it with FireFox 2 it works fine, any ideas???
Well, i'm so sorry for this, an extra "," cause this problem i simply removing this and every thing works fine.
Can an admin delete this please.
the creation of toolbar NO LONGER valid for extjs version 2.0
- in 2.0, you should not create the toolbar with a parameter of "container" and add menu directly with a menu config option. The better way is to create an empty toolbar and add elements to it using toolbar.addXXX(), as in the examples folder menus.js code.