Ajax on assignment creation, flux

Create assignments and flux with ajax.