I have a working script to apply transformations to SVG so that the image is draggable. The script works when I use the attributes of the html element.
<g id="all" onmousedown="startMove(evt)" onmousemove="moveIt(evt)" onmouseup="endMove(evt)">
However I would like to bind the events with Jquery something like below and wonder where I am going wrong with the code below
$('svg > g').mousedown(startMove(evt));
$('svg > g').mousemove(moveIt(evt));
$('svg > g').mouseup(endMove(evt));
el.event(fn)notel.event(fn())