@htmlguyllc/jpack
Advanced tools
Comparing version 4.0.11 to 4.0.12
{ | ||
"name": "@htmlguyllc/jpack", | ||
"version": "4.0.11", | ||
"version": "4.0.12", | ||
"description": "Core Javascript Library of Everyday Objects, Events, and Utilities", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -10,3 +10,3 @@ # jPack | ||
...where else can you get a component to grab a form from another page and stick it on the current one with XHR and XHR submission in [5 lines of custom JS](#5lineofjs)? | ||
...where else can you get a component to grab a form from another page and stick it on the current one with XHR and XHR submission in [6 lines of custom JS](#6lineofjs)? | ||
@@ -345,5 +345,5 @@ <h1 id="whatsincluded">What's Included</h1> | ||
<h4 id="5lineofjs">How to get and submit a form in 5 lines of javascript:</h4> | ||
<h4 id="6lineofjs">How to get and submit a form in 6 lines of javascript:</h4> | ||
when requesting the form and {success:"Got it!"} on submission - both from the same URL): | ||
Your javascript | ||
```javascript | ||
@@ -354,3 +354,4 @@ var email_form = new FormFromURL('/email-form', { | ||
onSuccess: function(response, form){ alert(response.success); } | ||
}) | ||
}); | ||
email_form.getForm(); | ||
``` | ||
@@ -357,0 +358,0 @@ Server response when retrieving /email-form |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
645
303560