Canvas (Dynamic) Signature using jQuery

Many times we want to need to the dynamic signature of the client so this article help us.


Source code:-
<%@ Page Language="C#" AutoEventWireup="true" CodeFile=" CanvasSignature.aspx.cs"
    Inherits="CanvasSignature" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<head runat="server">
    <script type="text/javascript" src=""></script>
    <script src="" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $(".tools a").eq(0).attr("style", "color:#000");
            $(".tools a").click(function () {
                $(".tools a").removeAttr("style");
                $(this).attr("style", "color:#000");
    <form id="form1" runat="server">
    <fieldset style="width: 500px;">
        <legend>Canvas Signature using JQuery
        <div class="tools">
            <a href="#colors_sketch" data-tool="marker">Marker</a> <a href="#colors_sketch" data-tool="eraser">
        <br />
        <canvas id="colors_sketch" width="500" height="200">

Canvas (Dynamic) Signature using jQuery Canvas (Dynamic) Signature using jQuery Reviewed by NEERAJ SRIVASTAVA on 9:48:00 PM Rating: 5

No comments:

Powered by Blogger.