var options = document.getElementById('ppId').children;
$.each(options,function(){
if($(this).attr("brand-name")==rows[i].brandName){
$(this).attr("selected","selected");
return;
}
});
----------------------------------------------------------------------------
