[jQuery] Mousemoves only while mouse button is down

[jQuery] Mousemoves only while mouse button is down


What is the cleanest way to set up a mousemove that happens only while
the left mouse button is depressed? Would it be to set up a mousemove
event handler inside a mousedown event handler? Or is there a simpler,
cleaner way?