自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (2)
  • 收藏
  • 关注

原创 复选框如何只选中一个按钮

$(".no_food_detail input[type=checkbox]").bind("click",function(){ if(!$(this).is(":checked")){return false;} $(".no_food_detail input[type=checkbox]").not(this).attr("checked",false);});

2016-11-18 14:35:13 1223

转载 thisDiv.id.indexOf("title")!=-1 是什么

这个是判断“id”这个元素里面是否存在title,一般用来做判断用,例如:if((′Email′).value.indexOf(′@′)==−1||('Email').value.indexOf('@')==-1 || (‘Email’).value.indexOf(‘.’)==-1){ window.alert(‘邮件输入不正确!’); return false; }这个就是判断文本内是

2016-11-18 14:22:55 2023

原创 像bootstrap模态框一样的弹出框怎么写?

本人菜鸟一枚 问这个问那个,做出来了 = =!记录下!分享给大家,给有和我一样需要的!!需要:<link href="css/bootstrap.min.css" rel="stylesheet"><script src="js/jquery-2.1.1.js"></script><script src="js/bootstrap.min.js"></script>样式代码:/*弹出窗口*/.

2016-11-18 12:12:22 2741

原创 form提交数据给后台,前端给他需要的值

<form onsubmit="return OrderSubmit()"> <!-- order-dishes--> <div class="dish_order_number">牌号 <input type="text" class="marknum" value="121"/> 用餐人数 <input type="text" class="num_dine"

2016-11-07 14:19:29 5473

原创 javascript form onsubmit中的return 后面跟一个函数,其中return 起什么作用

<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><form method="post" action="http://www.sina.com" onsubmit="return abc()"><label><td>英文名:<input name="textar

2016-11-04 16:10:50 1321

原创 折叠效果,箭头由右变下

<style> .arrow1{background:url("img/xiangyou.png") no-repeat;display: inline-block;height: 20px;width: 20px;} .arrow2{background:url("img/xiangxia.png") no-repeat;}</style> <ul class="

2016-11-04 15:23:40 2504

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除