I'm trying to do some simple style application with Sencha Touch. Specifically, I would think that this would make the image with id = "piece-5" opaque:

Ext.DomHelper.applyStyles(Ext.DomQuery.selectNode('img#piece-5'),'opacity: 1');

But it doesn't. DomQuery seems to be passing in an object that is not connected to the actual DOM element.

What am I doing wrong here?