another silly question, i cant quite figure it out via all the other threads so hopefuly someone here can.
a demo is at http://jsfiddle.net/OwenMelbz/PaAt2/
basically ive got it so
when click inside document
spawn div
when click div
do nothing
when doubleclick div
do this
at the moment, when i double click it, it DOES run the code, but it also spawns another div where i click on the element.
my code is on jsfiddle as i posted above!
thanks
Not sure why but this worked for me. http://jsfiddle.net/PaAt2/4/. It might have to do with how live handles events vs bind.