javascript - Issues selecting all elements in SVG using D3 and Moment.js -


i'm using cal-heatmap, d3, , moment.js , i've got data sorted out month , year. goal select of "g" svg elements in calendar when specific month selected. code.

if (thisdate.classed("m_1 y_2013")){     this.selectall("g").class("higlight"); } 

i've tried replacing this d3 , thisdate, variable of whatever month clicked in calendar. no matter of 3 use keep getting error aren't functions. appreciated!


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -