I am trying for using Ext.dom.Query.Select
method to find all divs which having class name square and highlightedReactangle.Same method was working with extjs 4
, but after up grading to extjs 5
it start throwing error.
Uncaught SyntaxError: Failed to execute 'querySelectorAll' on 'Element': 'div:any(div.square|div.highlightedReactangle|div.highlightedReactangleIE|div.pin|div.redCircleCount|div.stampPreviewCls)' is not a valid selector.
The statement I'm using to find related div is,
this.el.select("div:any(div.square|div.highlightedReactangle|div.highlightedReactangleIE|div.pin|div.redCircleCount|div.stampPreviewCls)", true);
what exactely I'm missing ?
this.el.select()
method...I have problem with using syntax...this.el.select("div.redCircleCount")
return four element but how should I collect all element with this patternthis.el.select("div.redCircleCount | div.square")
? – Paneling