Fiddle doesn't work Javascript
http://jsfiddle.net/9zvt6/
var SList = $('.table>div.conChip').sort(function(a,b){
return a.dataset.sid > b.dataset.sid
});
var i = 0;
while(SList.length>i)
{
alert(SList[i].dataset.sid);
i++;
}
If I remove the inner divs the styles and classes everything seems to
work, otherwise it doesn't, what am I missing?
No comments:
Post a Comment