google-code-export / nyromodal

Automatically exported from code.google.com/p/nyromodal
1 stars 1 forks source link

nyroModalManual with ajax not working well with code igniter #586

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I am trying to submit a form via ajax to a url using post, and then display 
content inside the modal from this call. I am currently trying to do,

     $("#MyForm").submit(function(e){
        e.preventDefault();

        $.nyroModalManual({
            url: "controller/function",
            ajax: {data: $(this).serialize(), type: 'post'},
            width: 550, 
            height: 175
        });
     });

but when I try to output the get and post parameters there is nothing there. 
Also the request itself is showing that it is sending as get even though it 
should be post. I copied this type of functionality directly from 
https://code.google.com/p/nyromodal/issues/detail?id=121

What version of the product are you using?
Nyromodal 1.6.2

Original issue reported on code.google.com by metrol...@gmail.com on 19 Oct 2012 at 10:34