You're right - the 'return false' worked perfect for the <span>!  Thank you.

Unfortunately, I'm still stuck!  In the same scenario, I have a <textarea>
rather than a <span>.  A mousedown bind with 'return false' prevents editing
in the textarea, but without it the draggable bind is triggered!

So, for example:
<li class="trigger">This entire element triggers the draggable except for:
<textarea id="notrigger">this editable textarea</textarea></li>

Do you know a way to keep the draggable <li> and enable a <textarea> within
it to be editable?

Thanks for all your help!

Best regards,

-Tony



Karl Rudd wrote:
> 
> You need to add a "mousedown" handler to the span and return false.
> 


Tony Rasmussen wrote:
> 
> I'm trying to have an element within a sortable <li> to not trigger the
> draggable mousedown.
> For example:
> <li class="trigger">This entire element triggers the draggable except for:
> <span id="notrigger">this text</span></li>
> 
-- 
View this message in context: 
http://www.nabble.com/InterfaceElements-Sortables---Help-with-mousedown-bindings-tf2758367.html#a7775634
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to