岩城传媒

2018年4月13日

jquery取每个li元素下的第三个a元素

摘要: $('li').find('a:eq(2)'); 阅读全文

posted @ 2018-04-13 16:32 贵仔 阅读(221) 评论(0) 推荐(0)

js设置高度和宽度相等

摘要: <!doctype html><html><head><meta charset="utf-8"><link rel="stylesheet" href="/templates/vshop/default/style/main.css?ver=1.121" rev="stylesheet" type 阅读全文

posted @ 2018-04-13 16:31 贵仔 阅读(451) 评论(0) 推荐(0)

2018年4月10日

Hishop数据库根据产品ProductID取产品规格

摘要: #region 产品规格 public static string GetSku(int ProductId) { DataTable skus =GetSkus(ProductId); // Response.Write("skus.Rows.Count=" + skus.Rows.Count); 阅读全文

posted @ 2018-04-10 16:51 贵仔 阅读(470) 评论(0) 推荐(0)

判断最后一个字符是否包含特定字符,去掉最后一个字符

摘要: string str = context.Request["options"]; if (str.EndsWith(",")) { str = str.Substring(0, str.Length - 1); } 阅读全文

posted @ 2018-04-10 16:47 贵仔 阅读(254) 评论(0) 推荐(0)

导航