jQuery iframeのメソッドまたはコントロール値の呼び出しまたは取得


具体的なコードは以下の通りです.
//  iframe    testFn  
$("#ifmMain")[0].contentWindow.testFn();

//  iframe    userId    
$("#ifmMain").contents().find("#userId").val();