jQuery:如何获取元素"position"的style属性?

rah*_*789 2 javascript css jquery

在jQuery(或JavaScript)中为DOM中的元素获取样式属性"position"的正确标记是什么?

例:

HTML

<div id="Parent">
    Parent Element
    <ul class="child">
        <li>
            <p>inner child elements</p>
        </li>
    </ul>
</div>
Run Code Online (Sandbox Code Playgroud)

CSS

#Parent {
    position: relative;
}
.child {
    position: absolute;
}
Run Code Online (Sandbox Code Playgroud)

JavaScript的:

$(function() {
    //  What to type here to get "style attribute position" of say #Parent?
})
Run Code Online (Sandbox Code Playgroud)