First time click:


Second Round Mouse click:


The above images shows screen short of a popup that is shown by clicking on a link from a html table i created using Jquery DataTables plugin and data from mysql database. in essense, when i click the linkable column of a table for the first time, it shows the popup but under the main table.closing the popup and click on the same link again now displays the popup clearly IF I DONT REFRESH THE browser. restarting machine or firefox doesnt help. below is part of css code:

  <link href="css/dropdown/dropdown.css" media="screen" rel="stylesheet" type="text/css" />
<link href="css/dropdown/themes/default/default.ultimate.css" media="screen" rel="stylesheet" type="text/css" />

        <style type="text/css">
            @import "media/css/demo_table_jui.css";
            @import "media/themes/smoothness/jquery-ui-1.8.4.custom.css";

 <script type="text/javascript" charset="utf-8">
                    "aaSorting":[[2, "desc"]],


  <table width="100%" border="0" cellpadding="0" class="body" cellspacing="0" align="center">
    <td align="center" valign="top">
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="body">
          <td valign="top" align="center" width="35%">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <table width="70%" border="0" cellspacing="0" cellpadding="0" class="table_background">
<!-- gap between tables>-->
                          <table width="70%" border="0" cellspacing="1" cellpadding="0">
                            <tr valign="top">
                              <td width="70%" class="table_heading">
                                <div align="center">
                                Customers List

                            <tr valign="top">
                              <td width="65%" class="row1">
                                <table width="100%" border="0" cellspacing="5" cellpadding="1" class="row1">
                                    <td width="70%">

                                <div></div><div id="grid">
                    <table id="custlist" class="display">
                        <th>Customer Name</th>
                    while ($row = mysql_fetch_array($result)) {
                            <td><?= "<a href=? onclick=\"xajax_getContact('".$row['mobile']."','".$row['id']."');return false;\">".$row['customer']." (".$row['mobile'].")</a>"?></td>


    So what can be the cause ?

Edited by mogaka

5 Years
Discussion Span
Last Post by LastMitch

Jquery DataTables popup error

What error? I'm having a hard time understand what you are having?

You are having trouble making another window open a website?

Where is your ajax code?

I mean this:

<?= "<a href=? onclick=\"xajax_getContact('".$row['mobile']."','".$row['id']."');return false;\">".$row['customer']." (".$row['mobile'].")</a>"?>
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.