JQuery to Find the div height and set position
JQuery to Find the Div Height:-
We can find the particular height on a div using css property the syntax is shown below
var heigh_cal = $("#divID").css("height");
Example:-
var heigh_cal = $("#review_form_hideshow").css("height");
var split_val = heigh_cal.replace('px', '');
$("#popup_set_position").css("top", parseInt(split_val) + parseInt(667) + "px");
Example Program:- (Editor)
Output:-
Advertisement
Screen Shots:-
Post a Comment for "JQuery to Find the div height and set position"