PDA

View Full Version : Ext.query and IE7 browser



apurvark
13 Oct 2010, 11:28 PM
Hi All, I am facing a problem while selection some DOM nodes using Ext.query. Basically I want to fetch a span node having "onclick" attribute set to some URL. I am using a code as below: var objSpan = Ext.query('span[onclick*='+url+']'); where url is part of the actual url set to this span. This code works fine in IE8 and FF 3.0 3.5 and 3.6, but IE7 it is not able to recognize "onclick" attribute specified in the selector. Can anyone knows how to fix this in IE 7? Thanks, in advance, apurvark