137
rated 0 times
[
144]
[
7]
/ answers: 1 / hits: 59946
/ 15 Years ago, wed, may 20, 2009, 12:00:00
I am looking for a way to add parameters on a print function, because I have to print only the table and when I alert the table it shows me the correct value but when I'm 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?
More From » javascript