php - modal dialog display is empty -
my modal not display output (empty modal) except title. have checked , output working when don't display within modal.
what can change display output?
<script> $( function() { $( "#mortgageresults" ).dialog({ autoopen: false, modal: false, resizable: false, autoresize: true, show: { effect: "clip", duration: 400 }, hide: { effect: "drop", duration: 400 } }); $( "#mortgage" ).on( "click", function() { $( "#mortgageresults" ).dialog( "open" ); return false; }); } ); </script><!--- end of mortgage form ---> my display output:
<div id="mortgageresults" title="mortgage results"> <?php if (isset($_post['submit'])) echo "<p class='calc_header'>results</p>"; if (isset($_post['submit'])) echo "<div id='results'><p class='calc_result'>based on borrowing <span class='mortgage'>₱", number_format($borrow) , "</span> over <span class='mortgage'>", ($term), " years</span> at <span class='mortgage'>", ($interest), "%</span>, monthly repayments be:</p>"; if (isset($_post['submit'])) echo "<p class='calc_result'>interest only <span class='mortgage'>₱", number_format($answer,2), "</span></p>"; if (isset($_post['submit'])) echo "<p class='calc_result'>repayment <span class='mortgage'>₱", number_format($answer_two,2), "</span></p></div>"; ?> </div>
Comments
Post a Comment