capture selected div element with jquery -


How to capture the devil element and upload it to a server in jQuery as a picture automatically?

nick right There will be many security issues related to the browser executed screenshot which will be saved on your site (banking information Take).

An alternative would be to do this in the graphics library, which is based on the HTML content Div.

For example, if you are using PHP for your back, you can use jQuery to fetch the content of your 'div' element and it's $ .get () You can pass through in a file. By using the knowledge of the GD library and your stylesheet, and some HTML tree parsing, you can estimate that 'Div' can be reproduced in the form of an image.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -