Can you add parameters inside a print() function in javascript
<p>Hi guys i am looking for a way to add parameters on a print function, cause i have
to print only the table and when i alert the table it shows me the correct value but when i am printing it prints the entire page.</p>

<p>my code is </p>

<p><code>aa = document.getElementById('tablename').innerHTML</code></p>

<p>if i alert(aa) it gives me the write value
then i print(aa) it give me the entire page.
so i tried print(aa) and aa.print and it doesn't work.</p>

<p>does anyone know the solution for this.   </p>
