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.
my code is
aa = document.getElementById('tablename').innerHTML
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.
does anyone know the solution for this.