网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

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://bjjierui.cn/article/dosppp.html