views:

33

answers:

0

i'm using NyroModal, a 3rd party jQuery based dialog script. According to these settings, I should be able to do this:

$.nyroModalManual({
    type : 'ajax',
    url : '/url',
    'ajax' : {
        url : '/url',
        data : 'somedata=1'
    }
});

However I receive an error "$.ajax() is not defined". How could this be?

p.s.

If I run console.debug($.ajax()) right before the nyroModalManual part, it shows the XMLHTTPObject nicely, so I'm probably doing something wrong in the settings... I just need to be able to pass data.