Does anyone know whether i can pass a table from a page to another pop-up page when the button been clicked?
Example:
In page A, I have the following code :
<table>
<tr>
<td>Name</td>
<td>Age</td>
</tr>
<tr>
<td>Alan</td>
<td>12</td>
</tr>
<tr>
<td>Amy</td>
<td>13</td>
</tr>
</table>
when I clicked on the following javascript, new page will pop-up and it will passing the same table and information over:
window.open("pgTest.aspx");
Do anyone know whether it’s possible happen in jquery, javasctip or ajax?
You can call a function in the parent window using opener.functionName and in that you can access the table in the parent window.
For more details read
window.openerIn your parent (opener) window
In your child window