var hasId = ....;
if(hasId){
url = '/RESTClient/userbinded/updateUserBinded.action?time=' + getDateTime();
}else{
url = '/RESTClient/userbinded/saveUserBinded.action?time=' + getDateTime();
}
$('#UserBindedForm').form
({
url:url,
onSubmit:function(){
$.messager.show( {title : '提示框',msg : "正在提交请稍
后!",showType : 'show',timeout:'2000'});
},
success:saveSuccess
}).submit();
Find that can not change the dynamic
URL
URL only take effect once
After the change has no effect
EasyUI