I’m using jQuery UI to change the order.
In my application I need to add random number of statements one after the other, then reorder them (if I wish to) and then save to the server.
Adding statements as portlets is ok, but how would I save the positions?
Thanks
Macha
If by jQuery / Portlets you are indeed using http://host.sonspring.com/portlets/, then you can loop through at any point and determine what position each portlet content is in:
jQuery:
HTML (from the jQuery Portlets example, but I added IDs to the P tags – content_1, content_2 …):