- 博客(5)
- 收藏
- 关注
原创 tinymce初始化完成后插入内容
tinymce初始化完成后插入内容<div id="details"></div>tinymce.init({ selector: '#details', init_instance_callback : function(editor) { tinyMCE.editors["details"].insertContent("<b>插入的内容</b>"); }});...
2020-11-18 10:35:26
3651
原创 html页面跳转,在跳转页面获得传值
html页面跳转,在跳转页面获得传值打开新窗口跳转本页面跳转在跳转页面获得传值带参数跳转取值打开新窗口跳转window.open("index.html");本页面跳转window.location.href = "index.html";document.location = "index.html";在跳转页面获得传值带参数跳转window.open("index.html...
2020-04-28 14:56:27
631
原创 js使用键盘回车键(Enter)操作
js使用键盘回车键(Enter)操作<script type="text/javascript"> window.document.onkeydown = disableRefresh; function disableRefresh(evt){ evt = (evt) ? evt : window.event; if (evt.keyCode) { if(evt....
2020-04-21 12:02:44
4736
原创 ajax请求,乱码解决方案
页面设置jsp页面设置为utf-8<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>html页面的<meta http-equiv="content-type" content="text/html; charset=utf-8">ajax添加scrip
2018-11-13 16:53:06
350
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人