Skip to content

Instantly share code, notes, and snippets.

@smith
Created February 20, 2010 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smith/309821 to your computer and use it in GitHub Desktop.
Save smith/309821 to your computer and use it in GitHub Desktop.
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Form</title>
</head>
<body>
<div id="d"></div>
<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.1.0/prototype.js"></script>
<script src="http://markupfactory.com/includes/javascripts/src/mf/form.js"></script>
<script>
var f = new MF.Form("f", { items : [{ name: "name", value: "hi" }]});
$("d").update(f.toHTML());
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment