I've been looking for some code which basically moves checkboxes to the top of a list once they have been checked.
I came accross Move checkboxes on checked jQuery which gave me a great start, but I'm now stuck on a further issue.
If I add an <li>
item into this <ul>
list, but its just a standard item without an <input>
section, it stops the whole code from working.
Is there a simple work around for this that I haven't seen? I'm struggling to be honest as I'm just starting with JQuery, so its quite new to me.
Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire