Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

elitejax

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elitejax - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

package.json
{
"name": "elitejax",
"version": "v2.0.0",
"version": "v2.0.1",
"description": "Simplifying Ajax Requests Using HTML attributes",

@@ -5,0 +5,0 @@ "main": "./build/elitejax.min.js",

@@ -13,18 +13,2 @@ # elitejax

#### **Example**
* To send an AJAX request to the spotify API Endpoint, searching for artists by name:
```html
<form data-elitejax="true" name="spotify" action="https://api.spotify.com/v1/search" method="get">
Enter Artist name: <input type="text" name="q"><br />
<input type="hidden" name="type" value="artist">
<input type="submit" value="Submit">
</form>
<!-- include elitejax library from bower components directory -->
<script src="bower_components/elitejax/build/elitejax.min.js" charset="utf-8"></script>
```
### **Installation**

@@ -41,8 +25,2 @@ ---

NB: You can't load elitejax as a node module
### **Sample Usage Video**
[![elitejax](eliteJAX.png)](https://youtu.be/Hg9Xilkc5M0)
### Usage Without javascript

@@ -62,5 +40,10 @@ If your request returns data as JSON, you can add to the DOM from that object without javascript using the `data-post` and `data-postTo` attributes in your form element.

</form>
<script src="path/to/javascript" charset="utf-8"></script>
```
The above will place the result in the div element with .result class.
### **Sample Usage Video**
[![elitejax](eliteJAX.png)](https://youtu.be/Hg9Xilkc5M0)
### Exclude form field

@@ -67,0 +50,0 @@ ___

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc