AnsweredAssumed Answered

TypeError: query is not a function

Question asked by wgsl on Jan 18, 2017
Latest reply on Jan 18, 2017 by wgsl

Hello, I wanted to get html elements for a class using dojo/query within then() of queryTask. Please see below. Using query(class) return a "TypeError: query is not a function." But it worked when i used document.getElementsByClassName(classname). What did I missed on the query way? Thanks!!!

 

 

Outcomes