Skip to content

Instantly share code, notes, and snippets.

@vincentdeelen
Last active January 3, 2016 10:59
Javascript function that creates the iframe
if ( $('#parameterFrame').length >0 ){
$('#parameterFrame').remove()
}
var reportId = $v('P100_REPORT_ID')
var url = 'f?p=&APP_ID.:200:&SESSION.:&REQUEST.:&DEBUG.:200:P200_REPORT_ID:' + reportId
, frame = $( '<iframe></iframe>'
, { id : "parameterFrame"
, class : "iframe"
, frameborder : 0
, src : url
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment