JQuery获取input type="text"中的值的各种方式
如 <div id="aaa">123</div>
$("div").text(); 获取中间的文本,不包括html标签; $("div").html(); 获取中间的所有内容。
JQuery获取input type="text"中的值的各种方式
如 <div id="aaa">123</div>
$("div").text(); 获取中间的文本,不包括html标签; $("div").html(); 获取中间的所有内容。
上一篇:tomcat更改端口号
下一篇:纯CSS打造可折叠树状菜单
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M