大橙子网站建设,新征程启航

为企业提供网站建设、域名注册、服务器等服务

jq点击增加一段html-创新互联



    
        
广告位明细(最多5条)
+增加
    
                                           广告位                                                                                                         $value):?>                         ">                                                               
                                                              $value):?>                             ">                                                               
                                                              请选择广告位                                                                                  发布时间                                                                                             -                                                                                                                                                                   备注说明                                                                                 上传附件                                                            上传                                                                 
 $("#newyz1").bind('click',function() {
                    _addnum++;
                    var num=_addnum;
                    console.log(num);
                    if($(".one1").length>4){
                        layer.msg("最多5条数据");
                        return false;
                    }
                    var html='\n' +
                        '                \n' +
                        '                    \n' +
                        '\n'+
                        ' \n'+
                        '                        广告位\n' +
                        '                    \n'+
                        '                        \n' +
                        '                            \n';
                    for (var i=0;i'+ports[i]['value']+'';
                    }
                    html+='\n' +
                        '                        \n' +
                        '                        \n' +
                        '                            \n';
                    for (var i=0;i'+pages[i]['value']+'';
                    }
                    html+='\n' +
                        '                            \n' +
                        '                        \n' +
                        '                        \n' +
                        '                            \n' +
                        '                                请选择广告位\n' +
                        '                            \n' +
                        '                        \n' +
                        '\n' +
                        '                    \n' +
                        '                \n' +
                        '                \n' +
                        '                    发布时间\n' +
                        '                    \n' +
                        '                        \n' +
                        '                            \n' +
                        '                            \n' +
                        '                            -\n' +
                        '                        \n' +
                        '                    \n' +
                        '                    \n' +
                        '                        \n' +
                        '                            \n' +
                        '                            \n' +
                        '                        \n' +
                        '                    \n' +
                        '                \n' +
                        '                \n' +
                        '                    备注说明\n' +
                        '                    \n' +
                        '                    \n' +
                        '                        \n' +
                        '                \n' +
//                            ' \n' +
//                        '                    上传附件\n' +
//                        '                    \n' +
//                        '                        \n' +
//                        '                            \n' +
//                        '                                上传\n' +
//                        '                                \n' +
//                        '                            \n' +
//                        '                        \n' +
//                        '                    \n' +
//                        '                \n'+
                    '';
                    $('#xx').append(html);

                    //jq上传插件开始
                    $(".UploadImg").fileupload({
                        url: 'http://imgapi.qq.com/upload/php/upload.php',
                        sequentialUploads: true,
                        formData: {"app": 'brzy'},
                        returnType: "json",
                        acceptFiles: "application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,text/*,p_w_picpath/*,.pdf,.zip,.rar,.doc,.docx",
                        dataType: 'json',

// 上传完成后的执行逻辑
                        done: function (e, data) {
                            var n = data.jqXHR.responseText;
                            var an = JSON.parse(n);
                            // console.log(an);
                            layer.closeAll();
                            // if(typeof(_clickBut)=='undefined'){
                            //     var _clickBut='';
                            // }
                            _clickBut = $(this).attr('data');//哪个按钮被点击了
                            console.log($(this));
                            callback(an.url);
                        },
// 上传过程中的回调函数
                        progressall: function (e, data) {
                            layer.load(0, {shade: false});
                        }
                    });

                    //jq插件结束
                    $(".khnimus1").live('click',function(){
                        $(this).parents(".one1").remove();
                    });
                });

创新互联专注于企业成都全网营销、网站重做改版、长寿网站定制设计、自适应品牌网站建设、html5商城开发、集团公司官网建设、外贸营销网站建设、高端网站制作、响应式网页设计等建站业务,价格优惠性价比高,为长寿等各大城市提供网站开发制作服务。

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


网页题目:jq点击增加一段html-创新互联
URL地址:http://dzwzjz.com/article/dosppp.html