ibrows/smart-ajax

Smart Ajax Bundle for to handle your ajax requests

Installs: 1 016

Dependents: 0

Stars: 1

Watchers: 16

Forks: 1

Language: JavaScript

3.0.2 2015-02-17 15:59 UTC

README

Handle smart ajax requests

Add the bundles to your AppKernel class

``` php
// app/AppKernerl.php
public function registerBundles()
{
    $bundles = array(
        // ...
        new Ibrows\SmartAjaxBundle.php\IbrowsSmartAjaxBundle(),
        // ...
    );
    // ...
}
```

Include JS-Lib

```
        {% javascripts
            'bundles/ibrowssmartajax/jquery.form.min.js'
            'bundles/ibrowssmartajax/smartajax.js'
        %}
            <script type="text/javascript" src="{{ asset_url }}"></script>
        {% endjavascripts %}
```