how to run php in modal window
Posted: Tue Apr 21, 2015 10:23 pm
Hi,
Is there any way to run php code on modal window?
I already have my php code working for iframe object and now trying to bind it with custom button click for html object,
I need run something like this inside html object
<script type="text/javascript">
function openiFrame(phpCode){
var w = new nuWindow();
w.call_type = 'nurunphp';
w.php = phpCode; // already have this code in php procedures
nuSession.nuWindows.push(w);
nuIframeWindow(w);
}
</script>
<input type="button" value="TestingButtonClick " onclick="openiFrame('drawPieGraph')" class="nuButton" />
Thanks.
Is there any way to run php code on modal window?
I already have my php code working for iframe object and now trying to bind it with custom button click for html object,
I need run something like this inside html object
<script type="text/javascript">
function openiFrame(phpCode){
var w = new nuWindow();
w.call_type = 'nurunphp';
w.php = phpCode; // already have this code in php procedures
nuSession.nuWindows.push(w);
nuIframeWindow(w);
}
</script>
<input type="button" value="TestingButtonClick " onclick="openiFrame('drawPieGraph')" class="nuButton" />
Thanks.