I created a div and I want to make it draggable using:
mydiv_selector = jsplumb.getSelector('.classname');
JSPLUMB_INSTANCE.draggable(mydiv);
how do I get the "selector" of a specific div? (instead of getting the selector of all divs in that classname) jsplumb.getSelector() seems to take a classname, but I have many elements in that class. Can I get the specific div by ID or something else?
To return the selectors of a class this works:
mydiv_class_selectors = jsplumb.getSelector('.classname');
but if I want the selector of a specific div I can get it by id using:
mydiv_selector = jsplumb.getSelector('#divid');