.offset()
.offset( String
p ): Object
Returns the calculated offset values {'top': top, 'left': left}
.
console.log( $( "p" ).offset().top, $( "p" ).offset().left );
String
p ): Object
Returns the calculated offset values {'top': top, 'left': left}
.
console.log( $( "p" ).offset().top, $( "p" ).offset().left );