Office Document APIs for .NET
ITIL Career Advice
PMP Career Advice
Android Intel XDK
Welcome Guest !
How do we retrive position of html in jquery ?
on 11/4/2014 | Category:
jQuery Interview questions
| Views: 2340 |
Select from following answers:
In jquery position () method can be used.It gives the position object which can be used to determine the the left and top position relative to its parent element to get the position in html element.
var position = $("h1").position();
alert(position.left + " : " + position.top);
the code snippet will find the position object for the “h1” element and alert its left and top position relative to its parent.
Show Correct Answer
spotted while learning |
< Previous :
In Oracle,which command is used to get Table Struc ...
Next > :
Give an example of Sp_Help system stored procedure ...
Comments or Responses
Login to post response
More Interview Questions by Vivek.Ramapuram
How to insert an element before a specific element ?
How to insert an element after a specific element ?
How to get or set element width in the Jquery whta is the method used ...
How do we place content before a specific element ?
How to find the immediate next element from the element found by the s ...
How do we find last element in Jquery from the matched element ?
How do we find first element in Jquery from the matched element ?
How to filter an element from the group of similar kind of elements ba ...
Latest Interview Questions
Give an example of Sp_Help system stored procedure?
What is an alternating way of showing Table Structures in Sql Server?
What is the significance of DESCRIBE command in SQL Server?
What is the use of INTO keyword in LINQ?
How to get Age from any Date?
Give an example of ParseName function?
What do we mean by ParseName in-built function?
Which keyword or character is used to join 2 string in Sql Server?