[jQuery] NyroModal - open manual in iframe not working

[jQuery] NyroModal - open manual in iframe not working


Hello - I am using the great plug NyroModal. I have it tied to a ajax
form submit and when a failed retun comes back I want to span a new
NyroModal. Here is the code I am using:
            $('#chk_login').ajaxForm(function(login_return) {
                if (jQuery.trim(login_return)==1){
                     window.location="order.html";
                }
                else if (jQuery.trim(login_return)==0){
                    $.nyroModalManual({
                        type: 'iframe',
                        url: 'Account/No_Account.html',
                        width: 812,
                        height:    540
                        });
                        return false;
                }
            });
That should open No_Account.html in an iframe but its not.....I think
its using the default AJAX load which is not working well with my
page. Can anyone assit here?
THANKS!





















    • Topic Participants

    • info