-
25 Jan 2013 7:04 AM #1
TypeError with invalid Ext.query('#id.class:input')
TypeError with invalid Ext.query('#id.class:input')
The result that occurs instead:
- TypeError: Cannot read property '0' of null
HELPFUL INFORMATIONCode:Ext.query('#id.class:input')
Operating System:- Mac v10.8.2 b12C60
- Google Chrome 24.0.1312.56
-
25 Jan 2013 10:28 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,710
- Vote Rating
- 436
Did you check what version or what is the site is using?
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
25 Jan 2013 10:48 AM #3
The sencha site is running 3.1
From the console:
Ext.version
"3.1.0"
Ext.query('#id.class:input')
[COLOR=red !important]
TypeError: Cannot read property '0' of null
[/COLOR]
Last edited by shanimal; 25 Jan 2013 at 10:49 AM. Reason: misformatted after submit, trying again
-
8 Feb 2013 5:28 PM #4
You can close this if you think its invalid. This query is not valid in ExtJs. It appears to be valid only in jQuery.


Reply With Quote