1.首先在head里面写
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
2.form标签写
<form id="pic_form" method="post" enctype="multipart/form-data" action="">
3.js的点击函数里写
$('#pic_form').submit();
1.首先在head里面写
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
2.form标签写
<form id="pic_form" method="post" enctype="multipart/form-data" action="">
3.js的点击函数里写
$('#pic_form').submit();