I am getting this error when trying to use ui-sortable.
jquery-3.1.0.min.js:2 Uncaught Error: cannot call methods on sortable prior to initialization; attempted to call method 'option'
Thanks in advance.
The meaning of your error is : $this.draggable('enable'); is called before $this.draggable();.
Check the execution flow of your program : make sure that you have indeed initialized the plugin (e.g : called $this.draggable();) before trying to do anything with it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With