I want to get the height of parent frame with jQuery.
It's my orginal script
var iframeElement = parent.document.getElementById('FrmPatient');
iframeElement.style.hei开发者_运维百科ght = 170;
I want to change this script to jQuery style. How to get that?
You could try this:
$("#FrmPatient", parent.document).css("height", 170);
$('FrmPatient').parent().css('height', '170px');
精彩评论