![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
html
xujhui
这个作者很懒,什么都没留下…
展开
-
让页面可以像Word文档一样显示数学公式符号
一、在前端页面引入:<!-- 数学公式显示要用 --><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=AM_HTMLorMML-full"></script>二、在使用“``”来包括你要显示数学公式的部分。如:`...原创 2019-10-31 18:02:21 · 1045 阅读 · 0 评论 -
ajax提交含有文件的form表格数据
function update() { var form = new FormData(document.getElementById("form1"));//把表单的对象作为一个参数 $.ajax({ type:"post", url:"/updateUser", data:form, dataType:"text",...原创 2019-10-31 17:51:13 · 326 阅读 · 0 评论 -
页面图片回显
一、JavaScript/jQuery部分$('#photo').bind('change',function(){ var file=$("#photo").get(0).files[0];//得到file对象 var srcValue=window.URL.createObjectURL(file);//传入的参数创建一个指向该参数对象的URL $("#my-photo...原创 2019-10-31 17:41:12 · 607 阅读 · 0 评论