I have problem with sortable <TD>‘s.
$("table tbody").sortable({
handle: "td[tyhi='0']",
cancel: "td[tyhi='1']"
});
Code above is not working…
How to exclude a <TD> with attribute tyhi="1"?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In that case, you will need to put the sortable/non-sortable elements within different containing elements. In you example with a table, putting the
tdelements which must appear last in atfootwould be most semantic:jQuery
Example fiddle