Welcome Guest, Not a member yet? Register   Sign In
paging on popup dialog --> how to refresh

Dear all,

I have below code in the abcde.php. I have the button to show the popup dialog. But I do not know how to refresh the popup dialog on which there is paging. If i press paging button, how to refresh popup dialog??? as I believe it will back to abcde.php page.

    echo "<div class=\"user-ads-action\"><a  href=\"#ApprovePopup\" data-toggle=\"modal\"  data-id=\"$postID\" data-pagenum=\"$pageNum\"  class=\"btn btn-default btn-block directSendButton\"> <i class=\" icon-pencil\"></i> Approve Request </a></div>";

//-----------footer section with popup dialog declaration-------------//

<div class="modal fade" id="ApprovePopup" tabindex="-1" role="dialog">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <h4 class="modal-title">Approve or reject </h4>
      <div class="modal-body">
        <table id="addManageTable" class="table table-striped table-bordered add-manage-table table demo" data-filter="#filter" data-filter-text-only="true" >
                    <th> <?php echo $this->lang->line("From");?> </th>
                    <th data-sort-ignore="true"> <?php echo $this->lang->line("Ads_Detail");?></th>
                      foreach($result as $id=>$row)
                          echo "<td style=\"width:55%\" class=\"ads-details-td\">";
                        echo "<div class=\"ads-details\">";
                      echo "<h5><div >".$this->lang->line("lblTitle").$previewTitle."</div>".$previewDesc;
                          echo "<br/>Posted On: ". $createDate."</h5>";
                            echo "</div></td>";
                          echo "</tr>";
         <div class="pagination-bar text-center">
            <ul class="pagination">
                echo "<li  class=\"active\"><a href=\"#sellerApprovePopup\" data-toggle=\"modal\"  data-id=\"$postID\" data-pagenum=\"$pageNum\">$pageNum</a></li>";
                echo "<li><a href=\"#sellerApprovePopup\" data-toggle=\"modal\"  data-id=\"$postID\" data-pagenum=\"$pageNum2\">$pageNum2</a></li>";
                  echo "<li><a href=\"#sellerApprovePopup\" data-toggle=\"modal\"  data-id=\"$postID\" data-pagenum=\"$pageNum3\">$pageNum3</a></li>";


Messages In This Thread
paging on popup dialog --> how to refresh - by rchiu5hk - 03-07-2016, 07:41 AM

Theme © iAndrew 2016 - Forum software by © MyBB