随笔分类 - jQuery
摘要:$("#picAjax").change(function () { var strs = ""; var file = $("#picAjax").get(0).files[0]; var reader = new FileReader(); reader.readAsDataURL(file);
阅读全文
摘要://写入cookies的方法 function setCookie(name, value, seconds) { seconds = seconds || 0; //seconds有值就直接赋值,没有为0,这个根php不一样。 var expires = ""; if (seconds != 0)
阅读全文
摘要:var Resultstr=""; var param = { action: "MoneyList" };//参数拼接 $.ajax({ type: "Post", async: true, cache: false, url: "/ashx/ZWY.ashx", data: param, dat
阅读全文
摘要:$(function () { if (getCookie("rmbUser") == "true") { $("#xuanzong").attr("checked", true); $("#username").val( getCookie("username")); $("#password")
阅读全文
摘要://初始加载 $(function () { LoadCart(); }); var RMB = 0; var Index = 0; var shu = 0; var ResultStr = ""; var userID = 0; function LoadCart() { var paramete
阅读全文
摘要:function LoadList123() { var param = { action: "SelectShopType1"};//参数拼接 var Resultstr = ""; var PagerStr = ""; $.ajax({ type: "Post", async: true, ca
阅读全文
摘要:var myDate = new Date(); var timed = myDate.toLocaleDateString(); var oDate1 = new Date(item.express_time.substring(0, 10)); var oDate2 = new Date(tim
阅读全文
摘要:<div class="right"> <div onclick="javascript: ClickJian(this);" data-i=" + item.cid + " class="div_input div_input_left">-</div> <div class="div_input
阅读全文
摘要:function YUEFEN() { $(".BBNL_2").click(function () { $(".BBNL_2").css("color", "#999"); $(".BBNL_2").css("background-color", "#fff"); $(".BBNL123").text("0"); var ...
阅读全文
摘要:function hezhu() { // var lis= $("#aaa").find("treeview"); ////var lis= document.getElementsByClassName("treeview"); //alert(lis); //for (var i = 0; i
阅读全文
摘要:liujinzhong125男山西吕梁 liujinzhong225男山西吕梁 liujinzhong325男山西吕梁 liujinzhong425男山西吕梁 liujinzhong525男山西吕梁 liujinzhong625男山西吕梁 ...
阅读全文
摘要://预下载图片,避免图片闪烁 var imgar = []; $(function () { imgar[1] = new Image(); imgar[1].src = "/images/product/yonghudenglu.png"; imgar[1].onload = function (
阅读全文
摘要:<script> var a=document.body.innerHTML; document.body.innerHTML=a.replace(/\ufeff/g,''); </script>
阅读全文