摘要: public void ProcessRequest(HttpContext context) { byte[] fileContent = GetFileContent(); context.Response.ContentType = "application/octet-stream"; string downloadName = "Medical-Evaluati... 阅读全文
posted @ 2019-02-28 17:13 Adrian_Bai 阅读(249) 评论(0) 推荐(0)
摘要: 需求:用户在文本框输入10位数字,自动即时转换为美国电话号码显示样式:(XXX)XXX-XXXX 实现: 1. HTML中添加文本框: 2. 引入以下JavaScript代码(来源见注释): 阅读全文
posted @ 2019-02-22 15:49 Adrian_Bai 阅读(660) 评论(0) 推荐(0)