Twitter bootstrap 如何使转盘幻灯片和验证正常工作

Twitter bootstrap 如何使转盘幻灯片和验证正常工作,twitter-bootstrap,Twitter Bootstrap,有人能帮我吗???我正在尝试在Bootstrap3中运行旋转木马幻灯片和验证。在插入验证脚本之后,旋转木马就不工作了 我已经多次尝试应用noConlict(),但仍然不起作用。 这是我的脚本 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script src="js/jquery.validate.min.js"></s

有人能帮我吗???我正在尝试在Bootstrap3中运行旋转木马幻灯片和验证。在插入验证脚本之后,旋转木马就不工作了

我已经多次尝试应用noConlict(),但仍然不起作用。 这是我的脚本

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/bootstrap.js"></script>
<script type="text/javascript">
var jq=$.noConflict();
jq('document').ready(function(){
jq('form').validate({
    rules: {
        firstname: {
            minlength: 3,
            maxlength: 15,
            required: true
        },
        lastname: {
            minlength: 3,
            maxlength: 15,
            required: true
        },
        country: {
            required: true
        },
        email: {
            required: true
        }
    },
    highlight: function(element) {
        $(element).closest('.form-group').addClass('has-error');
    },
    unhighlight: function(element) {
        $(element).closest('.form-group').removeClass('has-error');
    },
    errorElement: 'span',
    errorClass: 'help-block',
    errorPlacement: function(error, element) {
        if(element.parent('.input-group').length) {
            error.insertAfter(element.parent());
        } else {
            error.insertAfter(element);
        }
    }
    window.location.href('seminar.php?module=success');
});
    jq('#myCarousel').carousel({
        interval:3000
    });
    jq('#myCarousel').carousel('cycle');
    });


</script>

var jq=$.noConflict();
jq(“文档”).ready(函数(){
jq('form')。验证({
规则:{
名字:{
最小长度:3,
最大长度:15,
必填项:true
},
姓氏:{
最小长度:3,
最大长度:15,
必填项:true
},
国家:{
必填项:true
},
电邮:{
必填项:true
}
},
亮点:功能(元素){
$(元素)。最近('.form group')。addClass('has-error');
},
取消高亮显示:功能(元素){
$(元素)。最近('.form group')。removeClass('has-error');
},
errorElement:'span',
errorClass:“帮助阻止”,
errorPlacement:函数(错误,元素){
if(element.parent('.input group').length){
错误.insertAfter(element.parent());
}否则{
错误。插入符(元素);
}
}
window.location.href('seminar.php?module=success');
});
jq(“#myCarousel”)。carousel({
间隔时间:3000
});
jq('myCarousel')。carousel('cycle');
});

你的网站上有哪些文件,你在使用哪些文件?我已经编辑了脚本。。。。我希望你能看到所有的脚本…@Izekid我试图在一个页面中使用旋转木马和验证表单,但它们似乎无法协同工作…旋转木马无法在我尝试使用验证脚本时滑动图像。你得到错误服务器端还是客户端?没有错误声明…只是幻灯片没有正常运行