Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
<iframe name='iframe' id="iframeLoanedItems" src="/jw/web/userview/kb_onlineGamingOperatornestedDatalistIFrame/v/OGP_App/basicForm_/reportViewCurdcrud?embed=true&d-2694495-fn_fk_report_id=#requestParam.id#" frameborder="0" border="0" cellspacing="0" height="500px" scrolling="yes" style="border-style: none;width: 100%"></iframe>
<script>
    $(document).ready(function(){
        $('iframe#iframeLoanedItems').load(function(){
            $('.nesteddl_trigger', $('iframe#iframeLoanedItems').contents()).trigger('click');
        })
    })
</script>

...

To embed a list inside an iframe you will need to use the <iframe> attribute and target the Menu ID containing the list. In this case "reportViewCurdbasicForm_crudis the targeted Menu.

Image RemovedImage Added

Figure 1: Targeted Menu ID

...

Sample App

View file
nameAPP_kb_onlineGamingOperatornestedDatalistIFrame.jwa
height250