Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ajax post data #126

Open
eickhardt opened this issue Apr 12, 2015 · 1 comment
Open

Ajax post data #126

eickhardt opened this issue Apr 12, 2015 · 1 comment

Comments

@eickhardt
Copy link

Just a quick one. I'm trying to fetch the data for the tip using ajax, but the data I'm trying to send in the POST request is not being received on the server side. Here's the code:

    var tip = new Opentip(
        $(this),
        { 
            target: true, 
            tipJoint: "right", 
            background: "white", 
            borderColor: "lightgray",
            showOn: 'creation',
            hideOn: 'click',
            ajax: translations_url, // is valid url
            ajaxMethod: 'POST',
            data: {
                meaning_id: meaning_id,
                _token: token,
                html: true
            }
        }
    );

Help would be greatly appreciated.

@EleRam
Copy link

EleRam commented Apr 13, 2015

I also tried ajaxData and same result...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants