It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

print table row using javascript

print table row using javascript

Postby radusuteu on Tue Aug 05, 2008 3:46 pm

Hi,
I will appreciate your help with this:

I have a table generated with PHP/mysql from a database. At the end of each row, i want to give the viewer the option to click a button (or a link) that says "print this row". I know about the window.print() function, but that one prints the entire document. How can I print only the table row?

Thanks for your help.
Radu
radusuteu
 
Posts: 2
Joined: Tue Aug 05, 2008 3:32 pm

Postby radusuteu on Wed Aug 06, 2008 7:26 am

Nevermind, i found the solution here:
http://www.808.dk/?code-javascript-print
radusuteu
 
Posts: 2
Joined: Tue Aug 05, 2008 3:32 pm


Who is online

Users browsing this forum: No registered users and 2 guests