$(document).ready(function() {
$("#selectable").selectable({
selected: function() {
$(".ui-selected:first", this).each(function() {
$(this).siblings().removeClass("ui-selected");
var refreshVal = $(this).children();
if(refreshVal.attr("id")=="user"){/* */}
});
}
});
}); //ready ends