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&nbsp;<span class='mortgage'>&#8369;", number_format($borrow) , "</span>&nbsp;over&nbsp;<span class='mortgage'>", ($term), "&nbsp;years</span>&nbsp;at&nbsp;<span class='mortgage'>", ($interest), "&#37;</span>, monthly repayments be&#58;</p>";        if (isset($_post['submit']))        echo "<p class='calc_result'>interest only&nbsp;<span class='mortgage'>&#8369;", number_format($answer,2), "</span></p>";        if (isset($_post['submit']))        echo "<p class='calc_result'>repayment&nbsp;<span class='mortgage'>&#8369;", number_format($answer_two,2), "</span></p></div>"; ?>            </div> 


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -