当前位置: 首页 > news >正文

网站群管理建设政务网站的建设时期的概述

网站群管理建设,政务网站的建设时期的概述,怎么判断公司是不是外包,设计一个网站需要多久效果如下: 几个注意地方: 1.多选下拉框需要添加 multiple 2.获取选中的元素KaTeX parse error: Expected EOF, got # at position 3: (#̲id option:selec…(#id option:not(:selected)) 下面是代码的各个部分实现, 方便引用,最后是总体代码,方便理解 添加选中到右边: // …效果如下: 几个注意地方: 1.多选下拉框需要添加 multiple 2.获取选中的元素KaTeX parse error: Expected EOF, got # at position 3: (#̲id option:selec…(#id option:not(:selected)) 下面是代码的各个部分实现, 方便引用,最后是总体代码,方便理解 添加选中到右边: // 添加选中到右边 $(#add).click((){let $options $(#select1 option:selected)let $remove $options.remove();$(#select2).append($remove); })添加未选到右边: // 添加未选到右边 $(#add_not).click((){let $options $(#select1 option:not(:selected))let $remove $options.remove();$(#select2).append($remove); })全部添加到右边: // 全部添加到右边 $(#add_all).click((){let $remove $(#select1 option).remove()$(#select2).append($remove); })整体代码: !DOCTYPE html html head meta charsetutf-8 style.content{display: inline-block;margin-left:15px;}div span{display: block;margin-left:-15px;}#add,#add_all,#add_not,#remove,#remove_all,#remove_not{cursor: pointer;}#select1{width: 100px;height: 160px;}#select2{width:100px;height:160px;}/style /head bodydiv classcontentselect multiple idselect1option value1选项1/optionoption value2选项2/optionoption value3选项3/optionoption value4选项4/optionoption value5选项5/optionoption value6选项6/optionoption value7选项7/optionoption value8选项8/option/selectdivspan idadd选中添加到右边gt;gt;/spanspan idadd_not添加未选到右边gt;gt;/spanspan idadd_all全部添加到右边gt;gt;/span/div /div div classcontent stylemargin-left:30px;select multiple idselect2 /selectdivspan idremovelt;lt;选中删除到左边/spanspan idremove_notlt;lt;添加未选到左边/spanspan idremove_alllt;lt;全部删除到左边/span/div /divscript srchttps://cdn.bootcss.com/jquery/3.4.1/jquery.js/script script $(function(){// 添加选中到右边$(#add).click((){let $options $(#select1 option:selected)let $remove $options.remove();$(#select2).append($remove);})// 添加未选到右边$(#add_not).click((){let $options $(#select1 option:not(:selected))let $remove $options.remove();$(#select2).append($remove);})// 全部添加到右边$(#add_all).click((){let $remove $(#select1 option).remove()$(#select2).append($remove);})// 删除选中到左边$(#remove).click((){let $options $(#select2 option:selected)let $remove $options.remove();$(#select1).append($remove);})// 删除未选到左边$(#remove_not).click((){let $options $(#select2 option:not(:selected))let $remove $options.remove();$(#select1).append($remove);})// 全部删除到左边$(#remove_all).click((){let $remove $(#select2 option)$(#select1).append($remove);}) }) /script/body /html参考《锋利的jquery》P149~P151
http://www.zqtcl.cn/news/705248/

相关文章:

  • 西安建站费用优化系统是什么意思
  • 做网站认证对网站有什么好处中信建设有限责任公司四川分公司电话
  • 王者做网站福州seo外包公司
  • 网站建设教程百度网盘网站报价明细
  • 网站建设杭州哪家好ui设计学校
  • 门户网站做等级保护测评成都企业建站系统
  • 网站建设需求确认表网站建设需求材料
  • 定制型网站制作价格北京网站建设费用
  • 与女鬼做的网站上海有限公司
  • ytwzjs烟台网站建设c 做的网站又哪些
  • 做网站就是做app中国包装创意设计网
  • 淄博做网站宿迁房产网丫丫找房
  • 苏州专业做网站比较好的公司杭州好的公司网站设计
  • 做百度网站要多少钱帮做网站一般多少钱
  • 云南网站备案查询山西做网站费用
  • 北京建站管理系统开发网站高转化页面
  • 南充网站制作不会做网站能做网络销售吗
  • 这2个代码 找做网站的 安装一下搜索引擎排行榜
  • 百度收录收费 重大网站网络空间设计说明怎么写
  • 网站开发 php模板图书馆网站建设的项目报告
  • 保定模板建站定制网站wordpress 收集
  • 万网 网站模板软件开发三个主要阶段
  • 网站首页psd格式怎么做seo关键词有哪些类型
  • 做部队网站技术vue做购物网站
  • 品牌网站建设服务机构wordpress英文改中文
  • 系统开发费外链优化方法
  • 网站建设公司起名网站构建的友情链接怎么做
  • 网站建设湖南wordpress 缓存时间
  • 木藕设计网站大全福州网络营销推广产品优化
  • 建设银行网上官方网站怎么批量修改wordpress文章内容