Discussions

 View Only

I want the parent to save before displaying the iframe.

  • 1.  I want the parent to save before displaying the iframe.

    Posted 09-15-2017 20:05
    <div id='Attendance'></div>\n\n<a class='Vibrant Alert' href='javascript:void(0);' onclick=\" var divURL='&lt;iframe src=https://tsemerge.quickbase.com/db/DBID?a=API_GenAddRecordForm&_fid_6="">https://tsemerge.quickbase.com/db/bmngsqz2r?a=API_GenAddRecordForm&_fid_6="">https://tsemerge.quickbase.com/db/DBID?a=API_GenAddRecordForm&_fid_6="; & URLEncode([Record ID#]) & "&dfid=13&ifv=1& frameborder=0 scrolling=no width=100% height=99%&gt;&lt;/iframe&gt;'; $('#Attendance').html(_.unescape(divURL)); $('#Attendance').dialog({title:'Add Attendance',modal:true,width:850,height:420,  padding:0, buttons: {Cancel: function() {$(this).dialog('close');}},open: function(event, ui) {$(this).html(markup);},close: function(event, ui) {}});\"> Add \n Attendance</a>"

    I want the parent record to be saved within this action. So that the iframe can have the latest information from the parent record.