I am playing with jsplumb, but I am not able to delete the connection between two divs having only the id of one div.
To delete a connection use the following code:
jsPlumb.deleteConnection(con)
For some reason, detach did not work for me. The method above is not mentioned in their docs, probably they forgot to correct their docs.