1、jquery选中radio的值
$('#sex[value="'+data[0].user.sex+'"]').prop('checked',true);
用attr不起作用!
2、设置网页地址栏图标,在jsp页面中添加如下代码:
<link rel="icon" href="<%=com.society.tool.Config.ICON_URL%>" type="image/x-icon">
jQuery操作Radio按钮与网页图标设置教程
1、jquery选中radio的值
$('#sex[value="'+data[0].user.sex+'"]').prop('checked',true);
用attr不起作用!
2、设置网页地址栏图标,在jsp页面中添加如下代码:
<link rel="icon" href="<%=com.society.tool.Config.ICON_URL%>" type="image/x-icon">
被折叠的 条评论
为什么被折叠?