$ 0 0 Ask on stack overflow, and I'll answer. However, Air_hadoken's answer seems right: if(options.contexts.attr("someAttr"))