if...{
a="left";
}else{
a="right";
}
obj.css({
a:"20px"
})
as above, the above practice does not work, is there any way to make this an a variable?
because of the complexity of the situation, you have to do this, which can save you a lot of trouble. Does anyone know this can be achieved?