摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Infrastructure.Util{ public class Encrypt { ...
阅读全文
摘要:$(function () { $("#saveimg_btn").on("click",function (event) { event.preventDefault(); html2canvas($("#prin...
阅读全文
摘要:var eSection = document.getElementById(""); var eSectionValue = eSection.options[eSection.selectedIndex].value; alert(e...
阅读全文
摘要:Dictionary d = new Dictionary(); d.Add("price", price); d.Add("note", note); d.Add("num", bu...
阅读全文
摘要:string url = this.ResolveClientUrl("~/page/bn_stu.aspx"); string str = string.Format("{0}?op={1}&", url, ViewState["yue"].ToString()); ...
阅读全文
摘要:$("#ddlPro").find('option').each(function () { this.selected = (this.text == dlprom); });
阅读全文
摘要:1.jsfunction textSAll(o) { o.select(); } var dddd_dd = function () { $(":text").on("click", function () { ...
阅读全文
摘要:document.getElementById("").value;
阅读全文
摘要:public partial class Inv_SelectWorkservice : System.Web.UI.Page,IPostBackEventHandler{ }通过OnItemCreated找到repeater里面的div并添加客户端点击事件div要加上runat=...
阅读全文
摘要:dropDownList.Items.Insert(0, new ListItem("--请选择--", "-1"));dropDownList.SelectedIndex = 1;注意顺序即可.
阅读全文
摘要:Table tb = new Table(); TableRow row1 = new TableRow(); TableCell tc1 = new TableCell(); ...
阅读全文
摘要:前台aspx //图片预览和描述 function previewImage(file) { var div = document.getElementById('preview'); div.innerHTML = ""; ...
阅读全文
摘要:public static string getFirstCode(string myChar) { byte[] arrCN = System.Text.Encoding.Default.GetBytes(myChar); if (arr...
阅读全文