Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Latest commit

 

History

History
26 lines (24 loc) · 1.13 KB

tag.signature.md

File metadata and controls

26 lines (24 loc) · 1.13 KB

Signature Tag

JQuery UI Signature is a famous handwritten sign tool for web.We made a customized version from jQuery UI Signature 1.1.2, and included it into Efw as a tag. It must be used after the Client tag for jQuery and jQuery UI including.

<%@ taglib prefix="efw" uri="efw" %>
<head>
	<efw:Client/>
</head>
<body>
	<efw:Signature id="signature1" width="400" height="200" /> //or efw:signature , efw:SIGNATURE 
</body>

Attributes

NameRequiredDefaultDescription
idYesThe identity of the Signature tag.
heightNo"200"The height of Signature tag. The unit is "px".
widthNo"400"The width of Signature tag. The unit is "px".

A hidden input with the id same to the signature tag will be created to contain the image data.

	var data = $("#signature1").val();