Neo
Neo

Reputation: 696

Select a div (jQuery)

I just want to select the div with a scrollbar were the gantt chart is displayed on this web page : http://www.jsgantt.com/ , After selecting it with firebug, I've tryied the following selector, but it doesn't work :

var div=$("#GanttChartDIV #rightside");

Thanks for your help

Actually the problem was that the jquery library was not correctly included, thanks all.

Upvotes: 0

Views: 85

Answers (2)

A.J.
A.J.

Reputation: 393

You can use $("#rightside.scroll2")

Upvotes: 2

o.carltonne
o.carltonne

Reputation: 385

looks like the id is "rightside" and class is "scroll2"

var div = $("#rightside.scroll2")

Upvotes: 3

Related Questions