Hi dalvarado,
I once had the same issue! Check out the thread:
http://www.nabble.com/InterfaceElements-Sortables---Help-with-mousedown-bindings-tf2758367.html#a7691068
Particularly starting at the 6th message.
I also had to study stopPropagation() and its nature in various browsers to
understand this issue.
Cheers,
-Tony
dalvarado wrote:
>
> Hi, Let's say my web page consists solely of
>
> <html>
> <head>
> <script type="text/javascript" src="scripts/jquery.js"></script>
> <script type="text/javascript" src="scripts/lib/interface.js"></script>
> <link rel="stylesheet" type="text/css" href="styles/styles.css">
> </head>
> <body>
> <div id="todoList">
> <div class="sidebarToDo">Item 1</div>
> <div class="sidebarToDo"><input type="text" value="Item 2"
> class="editableItem" size="10"></div>
> <div class="sidebarToDo">Item 3</div>
> <div class="sidebarToDo">Item 4</div>
> <div class="sidebarToDo">Item 5</div>
> <div class="sidebarToDo">Item 6</div>
> <div class="sidebarToDo">Item 7</div>
> </div>
> <script type="text/javascript">
> $(document).ready(
> function () {
> $('#todoList').Sortable(
> {
> accept : 'sidebarToDo',
> helperclass : 'sorthelper',
> activeclass : 'sortableactive',
> hoverclass : 'sortablehover',
> opacity: 0.8,
> fx: 100,
> axis: 'vertically',
> opacity: 0.4,
> revert: true
> }
> )
> }
> );
> </script>
> </body>
> </html>
>
> On PC Firefox (haven't tested in IE), I'm having a problem trying to edit
> the value of the text field. Whenever I focus my cursor on it, it treats
> it like I'm trying to move it and won't let me edit the field. How can I
> adjust the above so I'm still able to edit that field?
>
> Thanks, - Dave
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
--
View this message in context:
http://www.nabble.com/Sortables%3A-trouble-editing-a-textfield-that-is-a-sortable-tf3269703.html#a9366525
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/