index.html
$(document).contents().trigger( "scan_mode_event", [currentMode] );
ifame.html
parent.$(parent.document).bind( "scan_mode_event", function(event, currentMode){
if(currentMode==2){
$("#ppoe_option").show();
}else{
$("#ppoe_option").hide();
}
})
沒有留言:
張貼留言