0

当我尝试使用 jQuery 1.7.1 和 Fancybox 1.3.4 时。我收到消息 - '无法加载请求的内容。请稍后再试。'

使用 jQuery 1.5.1 一切正常。但我的其他插件需要 1.7.1 或更高版本的 jQuery。我该如何处理?

编辑:commnets 中的代码

<script type="text/javascript">
$(document).ready(function () {
    $("a.question_link").fancybox({
        'autoDimensions' : false,
        'width' : 500,
        'height' : 'auto'
    });
});
</script>

我有一个使用此模式窗口加载 ajax 部分的链接

<%= link_to "Reply", new_answer_path(question), :remote => true, :class => 'answer_link' %>
4

0 回答 0