Skip to content

Instantly share code, notes, and snippets.

@kellysutton
Created August 19, 2011 17:29
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 kellysutton/1157414 to your computer and use it in GitHub Desktop.
Save kellysutton/1157414 to your computer and use it in GitHub Desktop.
Dynamically Generated Form
<div id="Placeholder"></div>
<script>
var myForm = new BLIP.Form({
target: "Placeholder",
action: "/episodes",
method: "POST",
inputs: [
{
name: "email",
type: "email"
},
{
name: "alternate_email",
type: "email",
proFeature: "<%= user.pro %>"
}
]
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment