Sortable Plugin not working?

Hi guys,

I tried copying the example from this jquery plugin page,

And here is what I’ve tried so far,

So why it’s not working?

Thanks in advance.

Well to start with remove the line:

<span class="comment">// Initialise the table</span>

As its not valid javascript and is stopping your code from running.

@mickyginger ;

Thanks dude.

So? It’s working?

By the way, there’s a whole host of JS debugging tools out there. Have a look into Chrome’s Developer Tools:

Firebug for Firefox:

And if you’re using IE, use it to download Chrome or Firefox! :wink: