Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to make "modal conformation" functionality in this function call?
    primarykey
    data
    text
    <p>When i m calling this below function in script, i will get a popup dialog box to do some instructions.</p> <p>Here is my sample code: </p> <pre><code>function updateStatus(instrxnID){ exporter.fn.childWindow({ instrxnID : instrxnID, url:'pgks/fund/update/view.page' },'pgks','Popup',{top:100,height:459,width:884,left:200}); } </code></pre> <p><strong>exporter.fn.childWindow</strong> will call the below function to open popup'</p> <pre><code>childWindow : function(elements,path,title,setting){ setting = setting != undefined ? setting : {top:100,height:300,width:400,left:200}; var keys = exporter.fn.keys(elements); var offset = "width="+setting.width+",height="+setting.height+",top="+setting.top+",left="+setting.left; myWin = open("", "displayWindow", offset+",scrollbars=no,status=no,dependent=yes,directories=no,menubar=no,personalbar=no"); myWin.document.open(); myWin.document.write("&lt;html&gt;&lt;head&gt;"); myWin.document.write("&lt;/head&gt;&lt;body&gt;&lt;form name='form' action='"+elements.url+"' type='post'&gt;"); for ( var a = 0; a &lt; keys.length; a++) { myWin.document.write('&lt;input type="hidden" name="'+keys[a]+'" value="'+elements[keys[a]]+'"&gt;'); } myWin.document.write("&lt;/form&gt;&lt;script type='text/javascript'&gt;form.method=\'post\';form.submit();&lt;/script&gt;&lt;/body&gt;&lt;/html&gt;"); myWin.document.close(); } </code></pre> <p>After finishing those instruction ,i should return to the main page or parent page of this popup.</p> <p>Note: By clicking background page or another link, this modal should not disapper.</p> <p>Example: i need to attain something like this <a href="http://jqueryui.com/dialog/#modal-confirmation" rel="nofollow">example</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload