forked from viveleroi/jquery.formbuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
31 lines (31 loc) · 967 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html>
<head>
<title>jQuery FormBuilder Demo</title>
<meta charset="utf-8" />
<script src="//code.jquery.com/jquery-latest.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js"></script>
<script src="js/jquery.formbuilder.js"></script>
<link href="css/jquery.formbuilder.css" media="screen" rel="stylesheet" />
<style type="text/css">
a, body { font-family: "Tahoma", "Verdana", sans-serif; font-size: 12px; }
</style>
<script>
$(function(){
$('#my-form-builder').formbuilder({
'save_url': 'example-save.php',
'load_url': 'example-json.php',
'useJson' : true
});
$(function() {
$("#my-form-builder ul").sortable({ opacity: 0.6, cursor: 'move'});
});
});
</script>
</head>
<body>
<h1>jQuery Form Builder Plugin Demo</h1>
<p><a href="example-html.php">View sample rendered html</a>.</p>
<div id="my-form-builder"></div>
</body>
</html>