javascript - How to Save Table as an Image (jpg) -
i want save table image.i want save first row (first row contain image , text on image)in table image. e.g-jpg.
i used canvas image not clear , heard webkit but,i don't know how use it.
i trying make android application (using phonegap).
i want save table image , save image device (phone).
plz me!
<html> <head> <!-- omitting link,meta & script --> <!-- omitting link,meta & script --> <script> $(document).ready(function(){ $('#textinput1').keyup(function () { $('#display').text($(this).val()); }); }); </script> </head> <body> <table style="text-align: left; width: 100%; margin-left: auto; margin-right: auto;" cellpadding="2" cellspacing="2"> <tbody> <!-- 1 row!!!!!!!!!!!!!!!!!!! --> <tr> <td style="vertical-align: middle; text-align: center;"> <div class='wrapper'> <img class="image_set" src="./img/old_coca_cola_bottles-wallpaper-1440x900.jpg"> <div class='description'> <p id="display" class='description_content'>text</p> </div> </div> </td> </tr> <!-- 1 row end!!!!!!!!!!!!!!!!!!! --> <!-- omitting below --> <!-- omitting below --> </tbody> </table> </div> </body> </html>
Comments
Post a Comment