$("#subbtn").click(function(){
$('#uname').tooltip({
position : 'right',
content : '请输入姓名',
});
$('#age').tooltip({
position : 'right',
content : '请输入年龄',
});
});
function sub(){
$('#uname').tooltip({
position : 'right',
content : '请输入姓名',
});
$('#age').tooltip({
position : 'right',
content : '请输入年龄',
});
}
为什么前一个方法没反应,添加onclick的就可以了
jquery easyui遇到的的问题
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-