DelphiFAQ Home Search:
General :: Web publishing :: JavaScript :: ExtJS


Articles:

This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

ExtJS , Store object, lastOptions error messages

Question:

I get error messages in Internet Explorer when I use ExtJs in my project. Firefox (version 2) shows no issues.

Internet Explorer (version 6) says 'object expected'.

Answer:

Does your code by any chance read parameter values as if they were a sub-parameter? See the example code. The parameter 'export' should be read as shown in the second part of the code snippet.

// This works in Firefox:
 
   if (storeItems.lastOptions.params.export) {
 
 // This works both in FF and in IE 
 // (and does the same, important :-)
 
   if (storeItems.lastOptions.params['export']) 
 

Generated 8:02:19 on Feb 21, 2018