Note that there are some explanatory texts on larger screens.

plurals
  1. POopen a div having id using onclick in a hyperlink
    primarykey
    data
    text
    <p>below is the given div having id "panel" and links in the same page but outside this div, when I click on the link this div should be open. there are several links so jquery does not work and my button is created dynamically through php while loop hence i cannot put unique id in my hyperlink </p> <pre><code> &lt;div id="panel"&gt; &lt;form name="userloginform" action="xxx.php" method="post"&gt; &lt;table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="tb"&gt; &lt;tr&gt; &lt;td align="left" valign="middle" height="80"&gt;User Name&lt;/td&gt; &lt;td align="left" valign="middle"&gt;:&amp;nbsp;&lt;/td&gt; &lt;td align="left" valign="middle"&gt;&lt;input name="user" type="text" class="log"/&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td align="left" valign="middle"&gt;Password&lt;/td&gt; &lt;td align="left" valign="middle"&gt;:&amp;nbsp;&lt;/td&gt; &lt;td align="left" valign="middle"&gt;&lt;input name="pass" type="password" class="log"/&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td colspan="3"&gt;&lt;input name="submit1" type="submit" value="Login" class="login_btn"/&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/form&gt; &lt;/div&gt; </code></pre> <p>and my link is</p> <pre><code> &lt;a href="#" id="flip" &gt;Launch Now&lt;/a&gt; &lt;a href="#" id="" &gt;Launch Now&lt;/a&gt; </code></pre> <p>If I am not clear please reply which part is not clear so that I can edit and provide useful information clearly</p> <p>ok here is where link is coming from, a CMS is used here.</p> <pre><code> &lt;?php $sql=mysql_query("SELECT * FROM heading ORDER BY id DESC"); while($r=mysql_fetch_array($sql)) { $ii=$r['id']; ?&gt; &lt;h3&gt;&lt;?php echo $r['heading'];?&gt;&lt;/h3&gt; &lt;div&gt; &lt;div class="content"&gt; &lt;div class="main_table_wrapper"&gt; &lt;table width="1030" border="0" cellspacing="0" cellpadding="0" align="left"&gt; &lt;?php $sql2=mysql_query("SELECT * FROM inner_table WHERE head='$ii'") ; while($rows=mysql_fetch_array($sql2)) { $abc=str_replace($rows['url'],'XXXXXXXXXXXXXXX',$rows['url']); ?&gt; &lt;tr&gt; &lt;th align="left" valign="middle" width="350"&gt;&lt;?php echo $rows['inner_names'];?&gt;&lt;/th&gt; &lt;th align="left" valign="middle" width="250"&gt;&lt;?php echo $abc;?&gt;&lt;/th&gt; &lt;th align="left" valign="middle" width="200"&gt;&lt;?php echo $rows['author'];?&gt;&lt;/th&gt; &lt;th align="center" valign="middle" width="100"&gt;&lt;?php echo $rows['doe'];?&gt;&lt;/th&gt; &lt;th align="right" valign="middle" width="130"&gt;&lt;span class="lunch"&gt;&lt;a href="#" id="flip1"&gt;Launch Now&lt;/a&gt;&lt;/span&gt;&lt;/th&gt; &lt;/tr&gt; &lt;?php } ?&gt; &lt;/table&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;?php } ?&gt; &lt;/div&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload