javascript to print all tables and individual tables

Posted by LiveEn on Stack Overflow See other posts from Stack Overflow or by LiveEn
Published on 2010-03-24T12:09:47Z Indexed on 2010/03/24 12:13 UTC
Read the original article Hit count: 569

Filed under:
|
|
|

I am retrieving values from a database and displaying it a table using php. Each table is stored inside a div tag.

<div id="print">
table content 1
</div>

<div id="print">
table content 2
</div> ..................

Can some one please suggest a javascript where i can get a separate link/ button that will print all the tables and a link on all table to print each individual table. I used several javascripts and jquery plug ins but couldn't get my job done.

any help will be appreciated

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about php