I have a Site in which user can take screenshot and send it through mail.
First thing how can i take a screenshot on button click event in javascript or jquery. Second thing how can i send that image byte to controller Actionresult()
Please help me with this..
See now i found few references
Jquery
$("#Click").html2canvas(document.body, {
        onrendered: function (canvas) {
            $.post('../Home/proof',
                    {
                        images: canvas.toDataURL()
                    },
                  function (data) { });
        }
    });
 <input type="button" id="Click"  value="Click"/>
   [HttpPost]
   public ActionResult proof()
        {
         //   @RequestParam(value="image");
            String imageBase64;
           // byte[] bytes = imageBase64.replaceAll("data:image/.+;base64,", "").getBytes();
            return View();
        }
but it doest hit the controller.. Pls help
 
    